#F2E06C#F2E06C
#F2E06C is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.9% C 0.138 H 100.6°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E06C |
|---|---|
| RGB | rgb(242, 224, 108) |
| HSL | hsl(52, 84%, 69%) |
| HSV | hsv(52, 55%, 95%) |
| CMYK | cmyk(0%, 7.4%, 55.4%, 5.1%) |
| CIE-LAB | lab(88.58, -8.04, 58.08) |
| CIE-LCH | lch(88.58, 58.64, 97.88°) |
| OKLab | oklab(89.88% -0.0253 0.1354) |
| OKLCH | oklch(89.88% 0.138 100.6) |
| XYZ | xyz(65.9827, 73.2738, 24.8521) |
| Luminance | 0.7327 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.81
Sand Yellow
#FCE166
ΔE00 2.52
Yellow Tan
#FFE36E
ΔE00 2.82
Sandy Yellow
#FDEE73
ΔE00 3.09
Sandy
#F1DA7A
ΔE00 3.24
Pale Gold
#FDDE6C
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E06C #6C7EF2
analogous
#F29D6C #F2E06C #C1F26C
triadic
#F2E06C #6CF2E0 #E06CF2
tetradic
#F2E06C #6CF29D #6C7EF2 #F26CC1
square
#F2E06C #6CF29D #6C7EF2 #F26CC1
split-complementary
#F2E06C #6CC1F2 #9D6CF2
monochromatic
#D1B712 #EDD434 #F2E06C #F7ECA4 #FCF8DC
Accessibility & contrast
On white
1.34
#F2E06C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.65
#F2E06C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E06C
15.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E06C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E06C | 1.00 | 1.34 | 15.65 | 15.65 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DA61
Deuteranopia (green-blind)
#F7E272
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2e06c; /* rgb */ color: rgb(242, 224, 108); /* oklch */ color: oklch(89.9% 0.138 100.6);
Tailwind
colors: {
custom: {
50: '#f9e999',
500: '#f2e06c',
950: '#000000',
},
}SCSS
$custom: #f2e06c; $custom-light: #f9e999; $custom-dark: #000000;
JSON
{
"hex": "#f2e06c",
"rgb": {
"r": 242,
"g": 224,
"b": 108
},
"hsl": {
"h": 51.94,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.89878,
"c": 0.13778,
"h": 100.6
},
"luminance": 0.73271
}Semantic roles & 50–950 ramp
primary
#F2E06C
secondary
#374BCB
accent
#23E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F