#F2E873#F2E873
#F2E873 is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.6% C 0.139 H 104.4°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E873 |
|---|---|
| RGB | rgb(242, 232, 115) |
| HSL | hsl(55, 83%, 70%) |
| HSV | hsv(55, 52%, 95%) |
| CMYK | cmyk(0%, 4.1%, 52.5%, 5.1%) |
| CIE-LAB | lab(90.70, -11.48, 57.35) |
| CIE-LCH | lch(90.70, 58.49, 101.32°) |
| OKLab | oklab(91.59% -0.0345 0.1346) |
| OKLCH | oklch(91.59% 0.139 104.4) |
| XYZ | xyz(68.5711, 77.8305, 27.6270) |
| Luminance | 0.7783 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.05
Yellowish
#FAEE66
ΔE00 2.56
Straw
#FCF679
ΔE00 3.04
Dull Yellow
#EEDC5B
ΔE00 3.56
Khaki (CSS)
#F0E68C
ΔE00 3.78
Manilla
#FFFA86
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E873 #737DF2
analogous
#F2A973 #F2E873 #BCF273
triadic
#F2E873 #73F2E8 #E873F2
tetradic
#F2E873 #73F2A9 #737DF2 #F273BC
square
#F2E873 #73F2A9 #737DF2 #F273BC
split-complementary
#F2E873 #73BCF2 #A973F2
monochromatic
#D7C714 #EDDF3B #F2E873 #F7F1AB #FCFAE3
Accessibility & contrast
On white
1.27
#F2E873 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.57
#F2E873 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E873
16.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E873 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E873 | 1.00 | 1.27 | 16.57 | 16.57 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E168
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f2e873; /* rgb */ color: rgb(242, 232, 115); /* oklch */ color: oklch(91.6% 0.139 104.4);
Tailwind
colors: {
custom: {
50: '#f9ef9e',
500: '#f2e873',
950: '#000000',
},
}SCSS
$custom: #f2e873; $custom-light: #f9ef9e; $custom-dark: #000000;
JSON
{
"hex": "#f2e873",
"rgb": {
"r": 242,
"g": 232,
"b": 115
},
"hsl": {
"h": 55.276,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.91588,
"c": 0.13892,
"h": 104.4
},
"luminance": 0.77828
}Semantic roles & 50–950 ramp
primary
#F2E873
secondary
#3D49CC
accent
#17DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580