#F2EC5E#F2EC5E
#F2EC5E is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.2% C 0.161 H 106.9°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).
Color values
| HEX | #F2EC5E |
|---|---|
| RGB | rgb(242, 236, 94) |
| HSL | hsl(58, 85%, 66%) |
| HSV | hsv(58, 61%, 95%) |
| CMYK | cmyk(0%, 2.5%, 61.2%, 5.1%) |
| CIE-LAB | lab(91.54, -14.95, 67.43) |
| CIE-LCH | lch(91.54, 69.07, 102.50°) |
| OKLab | oklab(92.19% -0.0466 0.1537) |
| OKLCH | oklch(92.19% 0.161 106.9) |
| XYZ | xyz(68.6361, 79.6785, 22.3515) |
| Luminance | 0.7968 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.64
Straw
#FCF679
ΔE00 2.92
Sandy Yellow
#FDEE73
ΔE00 3.00
Off Yellow
#F1F33F
ΔE00 3.45
Butter Yellow
#FFFD74
ΔE00 3.63
Custard
#FFFD78
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2EC5E #5E64F2
analogous
#F2A25E #F2EC5E #AEF25E
triadic
#F2EC5E #5EF2EC #EC5EF2
tetradic
#F2EC5E #5EF2A2 #5E64F2 #F25EAE
square
#F2EC5E #5EF2A2 #5E64F2 #F25EAE
split-complementary
#F2EC5E #5EAEF2 #A25EF2
monochromatic
#C6BE10 #EDE525 #F2EC5E #F7F397 #FBF9CF
Accessibility & contrast
On white
1.24
#F2EC5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.94
#F2EC5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2EC5E
16.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2EC5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2EC5E | 1.00 | 1.24 | 16.94 | 16.94 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FEE44D
Deuteranopia (green-blind)
#FFE966
Tritanopia (blue-blind)
#FFDECE
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #f2ec5e; /* rgb */ color: rgb(242, 236, 94); /* oklch */ color: oklch(92.2% 0.161 106.9);
Tailwind
colors: {
custom: {
50: '#f9f191',
500: '#f2ec5e',
950: '#000000',
},
}SCSS
$custom: #f2ec5e; $custom-light: #f9f191; $custom-dark: #000000;
JSON
{
"hex": "#f2ec5e",
"rgb": {
"r": 242,
"g": 236,
"b": 94
},
"hsl": {
"h": 57.568,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.92192,
"c": 0.16057,
"h": 106.9
},
"luminance": 0.79676
}Semantic roles & 50–950 ramp
primary
#F2EC5E
secondary
#3137C3
accent
#0DE204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F