#F2E679#F2E679
#F2E679 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.131 H 103.0°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E679 |
|---|---|
| RGB | rgb(242, 230, 121) |
| HSL | hsl(54, 82%, 71%) |
| HSV | hsv(54, 50%, 95%) |
| CMYK | cmyk(0%, 5%, 50%, 5.1%) |
| CIE-LAB | lab(90.25, -10.00, 54.05) |
| CIE-LCH | lch(90.25, 54.96, 100.48°) |
| OKLab | oklab(91.25% -0.0296 0.1279) |
| OKLCH | oklch(91.25% 0.131 103) |
| XYZ | xyz(68.3679, 76.8536, 29.3183) |
| Luminance | 0.7685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.56
Khaki (CSS)
#F0E68C
ΔE00 2.82
Yellowish
#FAEE66
ΔE00 3.51
Dull Yellow
#EEDC5B
ΔE00 3.65
Straw
#FCF679
ΔE00 3.85
Sandy
#F1DA7A
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E679 #7985F2
analogous
#F2A979 #F2E679 #C1F279
triadic
#F2E679 #79F2E6 #E679F2
tetradic
#F2E679 #79F2A9 #7985F2 #F279C1
square
#F2E679 #79F2A9 #7985F2 #F279C1
split-complementary
#F2E679 #79C1F2 #A979F2
monochromatic
#DBC815 #EDDC41 #F2E679 #F7F0B1 #FCFAE3
Accessibility & contrast
On white
1.28
#F2E679 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.37
#F2E679 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E679
16.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E679 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E679 | 1.00 | 1.28 | 16.37 | 16.37 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7E06F
Deuteranopia (green-blind)
#FBE67E
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e679; /* rgb */ color: rgb(242, 230, 121); /* oklch */ color: oklch(91.3% 0.131 103.0);
Tailwind
colors: {
custom: {
50: '#f8eda2',
500: '#f2e679',
950: '#000000',
},
}SCSS
$custom: #f2e679; $custom-light: #f8eda2; $custom-dark: #000000;
JSON
{
"hex": "#f2e679",
"rgb": {
"r": 242,
"g": 230,
"b": 121
},
"hsl": {
"h": 54.05,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.91253,
"c": 0.13131,
"h": 103
},
"luminance": 0.76851
}Semantic roles & 50–950 ramp
primary
#F2E679
secondary
#4350CC
accent
#1CDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480