#F2E476#F2E476
#F2E476 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.8% C 0.132 H 102.1°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E476 |
|---|---|
| RGB | rgb(242, 228, 118) |
| HSL | hsl(53, 83%, 71%) |
| HSV | hsv(53, 51%, 95%) |
| CMYK | cmyk(0%, 5.8%, 51.2%, 5.1%) |
| CIE-LAB | lab(89.71, -9.25, 54.80) |
| CIE-LCH | lch(89.71, 55.58, 99.58°) |
| OKLab | oklab(90.81% -0.0277 0.1293) |
| OKLCH | oklch(90.81% 0.132 102.1) |
| XYZ | xyz(67.6334, 75.6744, 28.1800) |
| Luminance | 0.7567 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.63
Dull Yellow
#EEDC5B
ΔE00 3.11
Khaki (CSS)
#F0E68C
ΔE00 3.14
Yellowish
#FAEE66
ΔE00 3.58
Sandy
#F1DA7A
ΔE00 3.64
Sand Yellow
#FCE166
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E476 #7684F2
analogous
#F2A676 #F2E476 #C2F276
triadic
#F2E476 #76F2E4 #E476F2
tetradic
#F2E476 #76F2A6 #7684F2 #F276C2
square
#F2E476 #76F2A6 #7684F2 #F276C2
split-complementary
#F2E476 #76C2F2 #A676F2
monochromatic
#D9C315 #EDD93E #F2E476 #F7EFAE #FCF9E3
Accessibility & contrast
On white
1.30
#F2E476 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.13
#F2E476 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E476
16.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E476 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E476 | 1.00 | 1.30 | 16.13 | 16.13 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DE6C
Deuteranopia (green-blind)
#FAE47B
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f2e476; /* rgb */ color: rgb(242, 228, 118); /* oklch */ color: oklch(90.8% 0.132 102.1);
Tailwind
colors: {
custom: {
50: '#f9eca0',
500: '#f2e476',
950: '#000000',
},
}SCSS
$custom: #f2e476; $custom-light: #f9eca0; $custom-dark: #000000;
JSON
{
"hex": "#f2e476",
"rgb": {
"r": 242,
"g": 228,
"b": 118
},
"hsl": {
"h": 53.226,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.90808,
"c": 0.13225,
"h": 102.1
},
"luminance": 0.75672
}Semantic roles & 50–950 ramp
primary
#F2E476
secondary
#4050CC
accent
#1FDF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480