#F2EC6F#F2EC6F
#F2EC6F is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.4% C 0.147 H 106.4°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).
Color values
| HEX | #F2EC6F |
|---|---|
| RGB | rgb(242, 236, 111) |
| HSL | hsl(57, 83%, 69%) |
| HSV | hsv(57, 54%, 95%) |
| CMYK | cmyk(0%, 2.5%, 54.1%, 5.1%) |
| CIE-LAB | lab(91.69, -13.77, 60.31) |
| CIE-LCH | lch(91.69, 61.86, 102.86°) |
| OKLab | oklab(92.36% -0.0414 0.1405) |
| OKLCH | oklch(92.36% 0.147 106.4) |
| XYZ | xyz(69.4847, 80.0179, 26.8206) |
| Luminance | 0.8002 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 2.08
Straw
#FCF679
ΔE00 2.11
Sandy Yellow
#FDEE73
ΔE00 2.36
Manilla
#FFFA86
ΔE00 3.21
Yellowish Tan
#FCFC81
ΔE00 3.49
Custard
#FFFD78
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2EC6F #6F75F2
analogous
#F2AB6F #F2EC6F #B7F26F
triadic
#F2EC6F #6FF2EC #EC6FF2
tetradic
#F2EC6F #6FF2AB #6F75F2 #F26FB7
square
#F2EC6F #6FF2AB #6F75F2 #F26FB7
split-complementary
#F2EC6F #6FB7F2 #AB6FF2
monochromatic
#D4CB13 #EDE537 #F2EC6F #F7F3A7 #FCFBDF
Accessibility & contrast
On white
1.24
#F2EC6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.00
#F2EC6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2EC6F
17.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2EC6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2EC6F | 1.00 | 1.24 | 17.00 | 17.00 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FDE462
Deuteranopia (green-blind)
#FFEA76
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #f2ec6f; /* rgb */ color: rgb(242, 236, 111); /* oklch */ color: oklch(92.4% 0.147 106.4);
Tailwind
colors: {
custom: {
50: '#f9f19c',
500: '#f2ec6f',
950: '#000000',
},
}SCSS
$custom: #f2ec6f; $custom-light: #f9f19c; $custom-dark: #000000;
JSON
{
"hex": "#f2ec6f",
"rgb": {
"r": 242,
"g": 236,
"b": 111
},
"hsl": {
"h": 57.252,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.92362,
"c": 0.14651,
"h": 106.4
},
"luminance": 0.80016
}Semantic roles & 50–950 ramp
primary
#F2EC6F
secondary
#3A41CB
accent
#10E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F