#F2DD76#F2DD76
#F2DD76 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.4% C 0.126 H 98.0°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DD76 |
|---|---|
| RGB | rgb(242, 221, 118) |
| HSL | hsl(50, 83%, 71%) |
| HSV | hsv(50, 51%, 95%) |
| CMYK | cmyk(0%, 8.7%, 51.2%, 5.1%) |
| CIE-LAB | lab(87.92, -5.74, 52.67) |
| CIE-LCH | lch(87.92, 52.99, 96.22°) |
| OKLab | oklab(89.39% -0.0176 0.1247) |
| OKLCH | oklch(89.39% 0.126 98) |
| XYZ | xyz(65.7466, 71.9007, 27.5511) |
| Luminance | 0.7190 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.30
Yellow Tan
#FFE36E
ΔE00 2.88
Wheat (survey)
#FBDD7E
ΔE00 2.92
Pale Gold
#FDDE6C
ΔE00 2.96
Sand Yellow
#FCE166
ΔE00 3.03
Dull Yellow
#EEDC5B
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DD76 #768BF2
analogous
#F29F76 #F2DD76 #C9F276
triadic
#F2DD76 #76F2DD #DD76F2
tetradic
#F2DD76 #76F29F #768BF2 #F276C9
square
#F2DD76 #76F29F #768BF2 #F276C9
split-complementary
#F2DD76 #76C9F2 #9F76F2
monochromatic
#D9B815 #EDCF3E #F2DD76 #F7EBAE #FCF8E3
Accessibility & contrast
On white
1.37
#F2DD76 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.38
#F2DD76 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DD76
15.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DD76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DD76 | 1.00 | 1.37 | 15.38 | 15.38 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD86D
Deuteranopia (green-blind)
#F4E07A
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f2dd76; /* rgb */ color: rgb(242, 221, 118); /* oklch */ color: oklch(89.4% 0.126 98.0);
Tailwind
colors: {
custom: {
50: '#f9e7a0',
500: '#f2dd76',
950: '#000000',
},
}SCSS
$custom: #f2dd76; $custom-light: #f9e7a0; $custom-dark: #000000;
JSON
{
"hex": "#f2dd76",
"rgb": {
"r": 242,
"g": 221,
"b": 118
},
"hsl": {
"h": 49.839,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.89392,
"c": 0.12591,
"h": 98
},
"luminance": 0.71898
}Semantic roles & 50–950 ramp
primary
#F2DD76
secondary
#4058CC
accent
#2BDF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480