#F2E676#F2E676
#F2E676 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.2% C 0.134 H 103.2°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E676 |
|---|---|
| RGB | rgb(242, 230, 118) |
| HSL | hsl(54, 83%, 71%) |
| HSV | hsv(54, 51%, 95%) |
| CMYK | cmyk(0%, 5%, 51.2%, 5.1%) |
| CIE-LAB | lab(90.22, -10.25, 55.41) |
| CIE-LCH | lch(90.22, 56.35, 100.48°) |
| OKLab | oklab(91.22% -0.0306 0.1306) |
| OKLCH | oklch(91.22% 0.134 103.2) |
| XYZ | xyz(68.1868, 76.7811, 28.3645) |
| Luminance | 0.7678 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.33
Yellowish
#FAEE66
ΔE00 3.17
Khaki (CSS)
#F0E68C
ΔE00 3.21
Dull Yellow
#EEDC5B
ΔE00 3.38
Straw
#FCF679
ΔE00 3.70
Sand Yellow
#FCE166
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E676 #7682F2
analogous
#F2A876 #F2E676 #C0F276
triadic
#F2E676 #76F2E6 #E676F2
tetradic
#F2E676 #76F2A8 #7682F2 #F276C0
square
#F2E676 #76F2A8 #7682F2 #F276C0
split-complementary
#F2E676 #76C0F2 #A876F2
monochromatic
#D9C615 #EDDC3E #F2E676 #F7F0AE #FCFAE3
Accessibility & contrast
On white
1.28
#F2E676 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.36
#F2E676 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E676
16.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E676 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E676 | 1.00 | 1.28 | 16.36 | 16.36 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7E06C
Deuteranopia (green-blind)
#FBE67B
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e676; /* rgb */ color: rgb(242, 230, 118); /* oklch */ color: oklch(91.2% 0.134 103.2);
Tailwind
colors: {
custom: {
50: '#f9eda0',
500: '#f2e676',
950: '#000000',
},
}SCSS
$custom: #f2e676; $custom-light: #f9eda0; $custom-dark: #000000;
JSON
{
"hex": "#f2e676",
"rgb": {
"r": 242,
"g": 230,
"b": 118
},
"hsl": {
"h": 54.194,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.91215,
"c": 0.13418,
"h": 103.2
},
"luminance": 0.76779
}Semantic roles & 50–950 ramp
primary
#F2E676
secondary
#404ECC
accent
#1BDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480