#F2E770#F2E770
#F2E770 is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.3% C 0.141 H 104.0°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E770 |
|---|---|
| RGB | rgb(242, 231, 112) |
| HSL | hsl(55, 83%, 69%) |
| HSV | hsv(55, 54%, 95%) |
| CMYK | cmyk(0%, 4.5%, 53.7%, 5.1%) |
| CIE-LAB | lab(90.41, -11.23, 58.38) |
| CIE-LCH | lch(90.41, 59.45, 100.88°) |
| OKLab | oklab(91.35% -0.034 0.1365) |
| OKLCH | oklch(91.35% 0.141 104) |
| XYZ | xyz(68.1206, 77.2012, 26.6391) |
| Luminance | 0.7720 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.97
Yellowish
#FAEE66
ΔE00 2.40
Dull Yellow
#EEDC5B
ΔE00 3.16
Straw
#FCF679
ΔE00 3.25
Khaki (CSS)
#F0E68C
ΔE00 4.04
Manilla
#FFFA86
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E770 #707BF2
analogous
#F2A670 #F2E770 #BCF270
triadic
#F2E770 #70F2E7 #E770F2
tetradic
#F2E770 #70F2A6 #707BF2 #F270BC
square
#F2E770 #70F2A6 #707BF2 #F270BC
split-complementary
#F2E770 #70BCF2 #A670F2
monochromatic
#D4C413 #EDDE38 #F2E770 #F7F0A8 #FCFAE0
Accessibility & contrast
On white
1.28
#F2E770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.44
#F2E770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E770
16.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E770 | 1.00 | 1.28 | 16.44 | 16.44 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E064
Deuteranopia (green-blind)
#FCE676
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f2e770; /* rgb */ color: rgb(242, 231, 112); /* oklch */ color: oklch(91.3% 0.141 104.0);
Tailwind
colors: {
custom: {
50: '#f9ee9c',
500: '#f2e770',
950: '#000000',
},
}SCSS
$custom: #f2e770; $custom-light: #f9ee9c; $custom-dark: #000000;
JSON
{
"hex": "#f2e770",
"rgb": {
"r": 242,
"g": 231,
"b": 112
},
"hsl": {
"h": 54.923,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.91348,
"c": 0.14069,
"h": 104
},
"luminance": 0.77199
}Semantic roles & 50–950 ramp
primary
#F2E770
secondary
#3B47CB
accent
#18E006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F