#FFF5B5

Lemon

#FFF5B5Lemon

Luminance

0.899

Category

Yellow

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#FFF5B5
No #
FFF5B5

RGB

RGB
rgb(255, 245, 181)
Values
R:255 G:245 B:181

HSL

HSL
hsl(52, 100%, 85%)
Values
H:52° S:100% L:85%

HSV / HSB

HSV
hsv(52, 29%, 100%)
Values
H:52° S:29% V:100%

CMYK

CMYK
cmyk(0%, 4%, 29%, 0%)
Values
C:0 M:4 Y:29 K:0

LAB

LAB
lab(96, -6, 32)
Values
L:96 a:-6 b:32

OKLCH

OKLCH
oklch(96.3% 0.082 100.3)
Values
L:96.3% C:0.082 H:100.3°

Code Formats

CSS
color: #FFF5B5;
Swift
UIColor(red: 1.000, green: 0.961, blue: 0.710, alpha: 1.0)
Kotlin
Color(0xFFFFF5B5)
Flutter
Color(0xFFFFF5B5)
Android
#FFFFF5B5

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.11:1

Fail

On Black

18.98:1

AAA

Grayscale Contrast

Aa

0%

19.0

AAA
Aa

10%

15.7

AAA
Aa

20%

11.4

AAA
Aa

30%

7.6

AAA
Aa

40%

5.2

AA
Aa

50%

3.6

AA-large
Aa

60%

2.6

Fail
Aa

70%

1.9

Fail
Aa

80%

1.5

Fail
Aa

90%

1.1

Fail
Aa

100%

1.1

Fail

Best Grayscale Contrast

#000000 with ratio 18.98:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #FFF5B3 0%, #FFE74D 100%)
OKLCH
linear-gradient(90deg, oklch(96.3% 0.084 100.5) 0%, oklch(92.1% 0.167 100.2) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #FFEB66 0%, #FFEE80 100%)
OKLCH
linear-gradient(135deg, oklch(93.2% 0.153 100.8) 0%, oklch(94.1% 0.132 100.7) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #FFF5B5 0%, #B3BDFF 100%)
OKLCH
linear-gradient(90deg, oklch(96.3% 0.082 100.3) 0%, oklch(81.4% 0.094 277.4) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #FFCFB3 0%, #FFF5B5 50%, #E3FFB3 100%)
OKLCH
linear-gradient(90deg, oklch(88.9% 0.066 51.8) 0%, oklch(96.3% 0.082 100.3) 50%, oklch(96.2% 0.102 124.7) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #FFE433 0%, #342E09 100%)
OKLCH
linear-gradient(180deg, oklch(91.4% 0.179 99.9) 0%, oklch(29.9% 0.054 99.9) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #FFEE80 0%, #FFEB66 100%)
OKLCH
radial-gradient(circle, oklch(94.1% 0.132 100.7) 0%, oklch(93.2% 0.153 100.8) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette