#F2E96B#F2E96B
#F2E96B is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.7% C 0.147 H 105.2°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E96B |
|---|---|
| RGB | rgb(242, 233, 107) |
| HSL | hsl(56, 84%, 68%) |
| HSV | hsv(56, 56%, 95%) |
| CMYK | cmyk(0%, 3.7%, 55.8%, 5.1%) |
| CIE-LAB | lab(90.88, -12.59, 61.16) |
| CIE-LCH | lch(90.88, 62.44, 101.64°) |
| OKLab | oklab(91.7% -0.0385 0.1419) |
| OKLCH | oklch(91.7% 0.147 105.2) |
| XYZ | xyz(68.4128, 78.2188, 25.4011) |
| Luminance | 0.7822 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.76
Sandy Yellow
#FDEE73
ΔE00 2.00
Straw
#FCF679
ΔE00 2.77
Dull Yellow
#EEDC5B
ΔE00 3.48
Manilla
#FFFA86
ΔE00 3.91
Custard
#FFFD78
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E96B #6B74F2
analogous
#F2A56B #F2E96B #B7F26B
triadic
#F2E96B #6BF2E9 #E96BF2
tetradic
#F2E96B #6BF2A5 #6B74F2 #F26BB7
square
#F2E96B #6BF2A5 #6B74F2 #F26BB7
split-complementary
#F2E96B #6BB7F2 #A56BF2
monochromatic
#D0C412 #EDE133 #F2E96B #F7F1A3 #FCFADC
Accessibility & contrast
On white
1.26
#F2E96B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.64
#F2E96B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E96B
16.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E96B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E96B | 1.00 | 1.26 | 16.64 | 16.64 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBE25E
Deuteranopia (green-blind)
#FEE872
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #f2e96b; /* rgb */ color: rgb(242, 233, 107); /* oklch */ color: oklch(91.7% 0.147 105.2);
Tailwind
colors: {
custom: {
50: '#f9ef99',
500: '#f2e96b',
950: '#000000',
},
}SCSS
$custom: #f2e96b; $custom-light: #f9ef99; $custom-dark: #000000;
JSON
{
"hex": "#f2e96b",
"rgb": {
"r": 242,
"g": 233,
"b": 107
},
"hsl": {
"h": 56,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.91703,
"c": 0.14705,
"h": 105.2
},
"luminance": 0.78217
}Semantic roles & 50–950 ramp
primary
#F2E96B
secondary
#3640CB
accent
#14E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F