#F2E96C#F2E96C
#F2E96C is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.7% C 0.146 H 105.1°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E96C |
|---|---|
| RGB | rgb(242, 233, 108) |
| HSL | hsl(56, 84%, 69%) |
| HSV | hsv(56, 55%, 95%) |
| CMYK | cmyk(0%, 3.7%, 55.4%, 5.1%) |
| CIE-LAB | lab(90.89, -12.52, 60.72) |
| CIE-LCH | lch(90.89, 62.00, 101.65°) |
| OKLab | oklab(91.71% -0.0382 0.1411) |
| OKLCH | oklch(91.71% 0.146 105.1) |
| XYZ | xyz(68.4658, 78.2400, 25.6798) |
| Luminance | 0.7824 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.83
Sandy Yellow
#FDEE73
ΔE00 1.99
Straw
#FCF679
ΔE00 2.75
Dull Yellow
#EEDC5B
ΔE00 3.51
Manilla
#FFFA86
ΔE00 3.86
Custard
#FFFD78
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E96C #6C75F2
analogous
#F2A66C #F2E96C #B8F26C
triadic
#F2E96C #6CF2E9 #E96CF2
tetradic
#F2E96C #6CF2A6 #6C75F2 #F26CB8
square
#F2E96C #6CF2A6 #6C75F2 #F26CB8
split-complementary
#F2E96C #6CB8F2 #A66CF2
monochromatic
#D1C412 #EDE134 #F2E96C #F7F1A4 #FCFADC
Accessibility & contrast
On white
1.26
#F2E96C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.65
#F2E96C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E96C
16.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E96C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E96C | 1.00 | 1.26 | 16.65 | 16.65 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBE25F
Deuteranopia (green-blind)
#FEE872
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #f2e96c; /* rgb */ color: rgb(242, 233, 108); /* oklch */ color: oklch(91.7% 0.146 105.1);
Tailwind
colors: {
custom: {
50: '#f9ef9a',
500: '#f2e96c',
950: '#000000',
},
}SCSS
$custom: #f2e96c; $custom-light: #f9ef9a; $custom-dark: #000000;
JSON
{
"hex": "#f2e96c",
"rgb": {
"r": 242,
"g": 233,
"b": 108
},
"hsl": {
"h": 55.97,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.91713,
"c": 0.14619,
"h": 105.1
},
"luminance": 0.78238
}Semantic roles & 50–950 ramp
primary
#F2E96C
secondary
#3741CB
accent
#14E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F