#F2E579#F2E579
#F2E579 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.0% C 0.130 H 102.5°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E579 |
|---|---|
| RGB | rgb(242, 229, 121) |
| HSL | hsl(54, 82%, 71%) |
| HSV | hsv(54, 50%, 95%) |
| CMYK | cmyk(0%, 5.4%, 50%, 5.1%) |
| CIE-LAB | lab(90.00, -9.50, 53.74) |
| CIE-LCH | lch(90.00, 54.58, 100.02°) |
| OKLab | oklab(91.05% -0.0281 0.1273) |
| OKLCH | oklch(91.05% 0.13 102.5) |
| XYZ | xyz(68.0904, 76.2986, 29.2258) |
| Luminance | 0.7630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.70
Khaki (CSS)
#F0E68C
ΔE00 2.78
Dull Yellow
#EEDC5B
ΔE00 3.52
Yellowish
#FAEE66
ΔE00 3.70
Sandy
#F1DA7A
ΔE00 3.80
Yellow Tan
#FFE36E
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E579 #7986F2
analogous
#F2A879 #F2E579 #C2F279
triadic
#F2E579 #79F2E5 #E579F2
tetradic
#F2E579 #79F2A8 #7986F2 #F279C2
square
#F2E579 #79F2A8 #7986F2 #F279C2
split-complementary
#F2E579 #79C2F2 #A879F2
monochromatic
#DBC615 #EDDA41 #F2E579 #F7F0B1 #FCFAE3
Accessibility & contrast
On white
1.29
#F2E579 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.26
#F2E579 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E579
16.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E579 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E579 | 1.00 | 1.29 | 16.26 | 16.26 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DF6F
Deuteranopia (green-blind)
#FAE57E
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f2e579; /* rgb */ color: rgb(242, 229, 121); /* oklch */ color: oklch(91.0% 0.130 102.5);
Tailwind
colors: {
custom: {
50: '#f8eda2',
500: '#f2e579',
950: '#000000',
},
}SCSS
$custom: #f2e579; $custom-light: #f8eda2; $custom-dark: #000000;
JSON
{
"hex": "#f2e579",
"rgb": {
"r": 242,
"g": 229,
"b": 121
},
"hsl": {
"h": 53.554,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.91049,
"c": 0.13034,
"h": 102.5
},
"luminance": 0.76296
}Semantic roles & 50–950 ramp
primary
#F2E579
secondary
#4352CC
accent
#1EDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480