#F2DF76#F2DF76
#F2DF76 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.8% C 0.128 H 99.3°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF76 |
|---|---|
| RGB | rgb(242, 223, 118) |
| HSL | hsl(51, 83%, 71%) |
| HSV | hsv(51, 51%, 95%) |
| CMYK | cmyk(0%, 7.9%, 51.2%, 5.1%) |
| CIE-LAB | lab(88.43, -6.75, 53.28) |
| CIE-LCH | lch(88.43, 53.71, 97.22°) |
| OKLab | oklab(89.8% -0.0205 0.126) |
| OKLCH | oklch(89.8% 0.128 99.3) |
| XYZ | xyz(66.2778, 72.9631, 27.7281) |
| Luminance | 0.7296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.96
Yellow Tan
#FFE36E
ΔE00 2.96
Sand Yellow
#FCE166
ΔE00 3.05
Dull Yellow
#EEDC5B
ΔE00 3.08
Pale Gold
#FDDE6C
ΔE00 3.34
Wheat (survey)
#FBDD7E
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF76 #7689F2
analogous
#F2A176 #F2DF76 #C7F276
triadic
#F2DF76 #76F2DF #DF76F2
tetradic
#F2DF76 #76F2A1 #7689F2 #F276C7
square
#F2DF76 #76F2A1 #7689F2 #F276C7
split-complementary
#F2DF76 #76C7F2 #A176F2
monochromatic
#D9BB15 #EDD23E #F2DF76 #F7ECAE #FCF8E3
Accessibility & contrast
On white
1.35
#F2DF76 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.59
#F2DF76 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF76
15.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF76 | 1.00 | 1.35 | 15.59 | 15.59 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0DA6D
Deuteranopia (green-blind)
#F6E17B
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2df76; /* rgb */ color: rgb(242, 223, 118); /* oklch */ color: oklch(89.8% 0.128 99.3);
Tailwind
colors: {
custom: {
50: '#f9e8a0',
500: '#f2df76',
950: '#000000',
},
}SCSS
$custom: #f2df76; $custom-light: #f9e8a0; $custom-dark: #000000;
JSON
{
"hex": "#f2df76",
"rgb": {
"r": 242,
"g": 223,
"b": 118
},
"hsl": {
"h": 50.806,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.89795,
"c": 0.12766,
"h": 99.3
},
"luminance": 0.72961
}Semantic roles & 50–950 ramp
primary
#F2DF76
secondary
#4056CC
accent
#28DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480