#FFF5BA

Lemon

#FFF5BALemon

Luminance

0.901

Category

Yellow

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#FFF5BA
No #
FFF5BA

RGB

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

HSL

HSL
hsl(51, 100%, 86%)
Values
H:51° S:100% L:86%

HSV / HSB

HSV
hsv(51, 27%, 100%)
Values
H:51° S:27% V:100%

CMYK

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

LAB

LAB
lab(96, -5, 30)
Values
L:96 a:-5 b:30

OKLCH

OKLCH
oklch(96.4% 0.076 99.6)
Values
L:96.4% C:0.076 H:99.6°

Code Formats

CSS
color: #FFF5BA;
Swift
UIColor(red: 1.000, green: 0.961, blue: 0.729, alpha: 1.0)
Kotlin
Color(0xFFFFF5BA)
Flutter
Color(0xFFFFF5BA)
Android
#FFFFF5BA

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.10:1

Fail

On Black

19.02:1

AAA

Grayscale Contrast

Aa

0%

19.0

AAA
Aa

10%

15.8

AAA
Aa

20%

11.4

AAA
Aa

30%

7.7

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 19.02: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, #FFF4B3 0%, #FFE552 100%)
OKLCH
linear-gradient(90deg, oklch(96.1% 0.083 99.7) 0%, oklch(91.8% 0.163 99.1) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #FFE866 0%, #FFED85 100%)
OKLCH
linear-gradient(135deg, oklch(92.6% 0.150 99.3) 0%, oklch(93.9% 0.127 99.7) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #FFF5BA 0%, #B8C2FF 100%)
OKLCH
linear-gradient(90deg, oklch(96.4% 0.076 99.6) 0%, oklch(82.8% 0.086 277.1) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #FFD1B8 0%, #FFF5BA 50%, #E6FFB8 100%)
OKLCH
linear-gradient(90deg, oklch(89.4% 0.062 50.1) 0%, oklch(96.4% 0.076 99.6) 50%, oklch(96.5% 0.095 123.9) 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, #FFE033 0%, #342E09 100%)
OKLCH
linear-gradient(180deg, oklch(90.6% 0.176 98.2) 0%, oklch(29.9% 0.054 99.9) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #FFEC80 0%, #FFE96B 100%)
OKLCH
radial-gradient(circle, oklch(93.7% 0.131 99.5) 0%, oklch(92.8% 0.147 99.5) 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