#F2DF8D#F2DF8D
#F2DF8D is a very light, moderate yellow. Relative luminance 0.736; OKLCH L 90.1% C 0.104 H 96.7°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF8D |
|---|---|
| RGB | rgb(242, 223, 141) |
| HSL | hsl(49, 80%, 75%) |
| HSV | hsv(49, 42%, 95%) |
| CMYK | cmyk(0%, 7.9%, 41.7%, 5.1%) |
| CIE-LAB | lab(88.72, -4.61, 42.49) |
| CIE-LCH | lch(88.72, 42.73, 96.19°) |
| OKLab | oklab(90.12% -0.0121 0.1035) |
| OKLCH | oklch(90.12% 0.104 96.7) |
| XYZ | xyz(67.8149, 73.5780, 35.8239) |
| Luminance | 0.7358 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.65
Khaki (CSS)
#F0E68C
ΔE00 3.08
Wheat (survey)
#FBDD7E
ΔE00 3.48
Dark Cream
#FFF39A
ΔE00 4.58
Light Tan
#FBEEAC
ΔE00 4.64
Vanilla
#F3E5AB
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF8D #8DA0F2
analogous
#F2AC8D #F2DF8D #D2F28D
triadic
#F2DF8D #8DF2DF #DF8DF2
tetradic
#F2DF8D #8DF2AC #8DA0F2 #F28DD2
square
#F2DF8D #8DF2AC #8DA0F2 #F28DD2
split-complementary
#F2DF8D #8DD2F2 #AC8DF2
monochromatic
#E5C01F #ECD056 #F2DF8D #F8EEC4 #FCF7E4
Accessibility & contrast
On white
1.34
#F2DF8D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.72
#F2DF8D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF8D
15.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF8D | 1.00 | 1.34 | 15.72 | 15.72 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EEDB87
Deuteranopia (green-blind)
#F4E290
Tritanopia (blue-blind)
#FFD4CB
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f2df8d; /* rgb */ color: rgb(242, 223, 141); /* oklch */ color: oklch(90.1% 0.104 96.7);
Tailwind
colors: {
custom: {
50: '#f8e8af',
500: '#f2df8d',
950: '#000000',
},
}SCSS
$custom: #f2df8d; $custom-light: #f8e8af; $custom-dark: #000000;
JSON
{
"hex": "#f2df8d",
"rgb": {
"r": 242,
"g": 223,
"b": 141
},
"hsl": {
"h": 48.713,
"s": 79.528,
"l": 75.098
},
"oklch": {
"l": 0.90122,
"c": 0.10422,
"h": 96.7
},
"luminance": 0.73576
}Semantic roles & 50–950 ramp
primary
#F2DF8D
secondary
#556CCF
accent
#31DC0A
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481