#F2DE76#F2DE76
#F2DE76 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.6% C 0.127 H 98.7°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DE76 |
|---|---|
| RGB | rgb(242, 222, 118) |
| HSL | hsl(50, 83%, 71%) |
| HSV | hsv(50, 51%, 95%) |
| CMYK | cmyk(0%, 8.3%, 51.2%, 5.1%) |
| CIE-LAB | lab(88.18, -6.24, 52.98) |
| CIE-LCH | lch(88.18, 53.34, 96.72°) |
| OKLab | oklab(89.59% -0.0191 0.1253) |
| OKLCH | oklch(89.59% 0.127 98.7) |
| XYZ | xyz(66.0114, 72.4303, 27.6393) |
| Luminance | 0.7243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.63
Yellow Tan
#FFE36E
ΔE00 2.90
Sand Yellow
#FCE166
ΔE00 3.02
Pale Gold
#FDDE6C
ΔE00 3.14
Dull Yellow
#EEDC5B
ΔE00 3.20
Wheat (survey)
#FBDD7E
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DE76 #768AF2
analogous
#F2A076 #F2DE76 #C8F276
triadic
#F2DE76 #76F2DE #DE76F2
tetradic
#F2DE76 #76F2A0 #768AF2 #F276C8
square
#F2DE76 #76F2A0 #768AF2 #F276C8
split-complementary
#F2DE76 #76C8F2 #A076F2
monochromatic
#D9B915 #EDD13E #F2DE76 #F7EBAE #FCF8E3
Accessibility & contrast
On white
1.36
#F2DE76 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.49
#F2DE76 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DE76
15.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DE76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DE76 | 1.00 | 1.36 | 15.49 | 15.49 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD96D
Deuteranopia (green-blind)
#F5E07B
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f2de76; /* rgb */ color: rgb(242, 222, 118); /* oklch */ color: oklch(89.6% 0.127 98.7);
Tailwind
colors: {
custom: {
50: '#f9e8a0',
500: '#f2de76',
950: '#000000',
},
}SCSS
$custom: #f2de76; $custom-light: #f9e8a0; $custom-dark: #000000;
JSON
{
"hex": "#f2de76",
"rgb": {
"r": 242,
"g": 222,
"b": 118
},
"hsl": {
"h": 50.323,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.89593,
"c": 0.12677,
"h": 98.7
},
"luminance": 0.72428
}Semantic roles & 50–950 ramp
primary
#F2DE76
secondary
#4057CC
accent
#29DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480