#F2E671#F2E671
#F2E671 is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.2% C 0.139 H 103.4°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E671 |
|---|---|
| RGB | rgb(242, 230, 113) |
| HSL | hsl(54, 83%, 70%) |
| HSV | hsv(54, 53%, 95%) |
| CMYK | cmyk(0%, 5%, 53.3%, 5.1%) |
| CIE-LAB | lab(90.17, -10.65, 57.64) |
| CIE-LCH | lch(90.17, 58.62, 100.47°) |
| OKLab | oklab(91.16% -0.0323 0.135) |
| OKLCH | oklch(91.16% 0.139 103.4) |
| XYZ | xyz(67.8975, 76.6654, 26.8409) |
| Luminance | 0.7666 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.06
Yellowish
#FAEE66
ΔE00 2.66
Dull Yellow
#EEDC5B
ΔE00 3.00
Straw
#FCF679
ΔE00 3.55
Khaki (CSS)
#F0E68C
ΔE00 3.84
Sand Yellow
#FCE166
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E671 #717DF2
analogous
#F2A671 #F2E671 #BDF271
triadic
#F2E671 #71F2E6 #E671F2
tetradic
#F2E671 #71F2A6 #717DF2 #F271BD
square
#F2E671 #71F2A6 #717DF2 #F271BD
split-complementary
#F2E671 #71BDF2 #A671F2
monochromatic
#D5C314 #EDDC39 #F2E671 #F7F0A9 #FCFAE1
Accessibility & contrast
On white
1.29
#F2E671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.33
#F2E671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E671
16.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E671 | 1.00 | 1.29 | 16.33 | 16.33 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DF66
Deuteranopia (green-blind)
#FCE677
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e671; /* rgb */ color: rgb(242, 230, 113); /* oklch */ color: oklch(91.2% 0.139 103.4);
Tailwind
colors: {
custom: {
50: '#f9ed9d',
500: '#f2e671',
950: '#000000',
},
}SCSS
$custom: #f2e671; $custom-light: #f9ed9d; $custom-dark: #000000;
JSON
{
"hex": "#f2e671",
"rgb": {
"r": 242,
"g": 230,
"b": 113
},
"hsl": {
"h": 54.419,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.91156,
"c": 0.13882,
"h": 103.4
},
"luminance": 0.76663
}Semantic roles & 50–950 ramp
primary
#F2E671
secondary
#3C49CB
accent
#1AE006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F