#F2E97A#F2E97A
#F2E97A is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.9% C 0.133 H 104.6°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E97A |
|---|---|
| RGB | rgb(242, 233, 122) |
| HSL | hsl(56, 82%, 71%) |
| HSV | hsv(56, 50%, 95%) |
| CMYK | cmyk(0%, 3.7%, 49.6%, 5.1%) |
| CIE-LAB | lab(91.04, -11.40, 54.51) |
| CIE-LCH | lch(91.04, 55.69, 101.81°) |
| OKLab | oklab(91.88% -0.0335 0.129) |
| OKLCH | oklch(91.88% 0.133 104.6) |
| XYZ | xyz(69.2716, 78.5623, 29.9236) |
| Luminance | 0.7856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.48
Khaki (CSS)
#F0E68C
ΔE00 3.03
Straw
#FCF679
ΔE00 3.09
Yellowish
#FAEE66
ΔE00 3.23
Manilla
#FFFA86
ΔE00 3.56
Dark Cream
#FFF39A
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E97A #7A83F2
analogous
#F2AD7A #F2E97A #BFF27A
triadic
#F2E97A #7AF2E9 #E97AF2
tetradic
#F2E97A #7AF2AD #7A83F2 #F27ABF
square
#F2E97A #7AF2AD #7A83F2 #F27ABF
split-complementary
#F2E97A #7ABFF2 #AD7AF2
monochromatic
#DCCD16 #EDE042 #F2E97A #F7F2B2 #FCFAE3
Accessibility & contrast
On white
1.26
#F2E97A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.71
#F2E97A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E97A
16.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E97A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E97A | 1.00 | 1.26 | 16.71 | 16.71 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE270
Deuteranopia (green-blind)
#FDE87F
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #f2e97a; /* rgb */ color: rgb(242, 233, 122); /* oklch */ color: oklch(91.9% 0.133 104.6);
Tailwind
colors: {
custom: {
50: '#f8efa3',
500: '#f2e97a',
950: '#000000',
},
}SCSS
$custom: #f2e97a; $custom-light: #f8efa3; $custom-dark: #000000;
JSON
{
"hex": "#f2e97a",
"rgb": {
"r": 242,
"g": 233,
"b": 122
},
"hsl": {
"h": 55.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.91877,
"c": 0.13332,
"h": 104.6
},
"luminance": 0.7856
}Semantic roles & 50–950 ramp
primary
#F2E97A
secondary
#444ECD
accent
#17DF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580