#F2E66C#F2E66C
#F2E66C is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.1% C 0.143 H 103.7°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E66C |
|---|---|
| RGB | rgb(242, 230, 108) |
| HSL | hsl(55, 84%, 69%) |
| HSV | hsv(55, 55%, 95%) |
| CMYK | cmyk(0%, 5%, 55.4%, 5.1%) |
| CIE-LAB | lab(90.12, -11.04, 59.84) |
| CIE-LCH | lch(90.12, 60.85, 100.45°) |
| OKLab | oklab(91.1% -0.0339 0.1392) |
| OKLCH | oklch(91.1% 0.143 103.7) |
| XYZ | xyz(67.6237, 76.5559, 25.3991) |
| Luminance | 0.7655 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.97
Yellowish
#FAEE66
ΔE00 2.23
Dull Yellow
#EEDC5B
ΔE00 2.72
Straw
#FCF679
ΔE00 3.50
Sand Yellow
#FCE166
ΔE00 3.93
Yellow Tan
#FFE36E
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E66C #6C78F2
analogous
#F2A36C #F2E66C #BBF26C
triadic
#F2E66C #6CF2E6 #E66CF2
tetradic
#F2E66C #6CF2A3 #6C78F2 #F26CBB
square
#F2E66C #6CF2A3 #6C78F2 #F26CBB
split-complementary
#F2E66C #6CBBF2 #A36CF2
monochromatic
#D1C012 #EDDC34 #F2E66C #F7F0A4 #FCF9DC
Accessibility & contrast
On white
1.29
#F2E66C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.31
#F2E66C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E66C
16.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E66C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E66C | 1.00 | 1.29 | 16.31 | 16.31 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8DF60
Deuteranopia (green-blind)
#FCE672
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #f2e66c; /* rgb */ color: rgb(242, 230, 108); /* oklch */ color: oklch(91.1% 0.143 103.7);
Tailwind
colors: {
custom: {
50: '#f9ed9a',
500: '#f2e66c',
950: '#000000',
},
}SCSS
$custom: #f2e66c; $custom-light: #f9ed9a; $custom-dark: #000000;
JSON
{
"hex": "#f2e66c",
"rgb": {
"r": 242,
"g": 230,
"b": 108
},
"hsl": {
"h": 54.627,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.91099,
"c": 0.1433,
"h": 103.7
},
"luminance": 0.76554
}Semantic roles & 50–950 ramp
primary
#F2E66C
secondary
#3745CB
accent
#19E005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F