#F4EC5F#F4EC5F
#F4EC5F is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.4% C 0.160 H 106.0°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).
Color values
| HEX | #F4EC5F |
|---|---|
| RGB | rgb(244, 236, 95) |
| HSL | hsl(57, 87%, 66%) |
| HSV | hsv(57, 61%, 96%) |
| CMYK | cmyk(0%, 3.3%, 61.1%, 4.3%) |
| CIE-LAB | lab(91.71, -14.08, 67.25) |
| CIE-LCH | lch(91.71, 68.71, 101.83°) |
| OKLab | oklab(92.37% -0.0441 0.1534) |
| OKLCH | oklch(92.37% 0.16 106) |
| XYZ | xyz(69.3716, 80.0525, 22.6217) |
| Luminance | 0.8005 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 1.20
Sandy Yellow
#FDEE73
ΔE00 2.62
Straw
#FCF679
ΔE00 2.88
Off Yellow
#F1F33F
ΔE00 3.70
Butter Yellow
#FFFD74
ΔE00 3.70
Custard
#FFFD78
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4EC5F #5F67F4
analogous
#F4A25F #F4EC5F #B1F45F
triadic
#F4EC5F #5FF4EC #EC5FF4
tetradic
#F4EC5F #5FF4A2 #5F67F4 #F45FB1
square
#F4EC5F #5FF4A2 #5F67F4 #F45FB1
split-complementary
#F4EC5F #5FB1F4 #A25FF4
monochromatic
#CBC10E #F0E526 #F4EC5F #F8F398 #FCFAD2
Accessibility & contrast
On white
1.23
#F4EC5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.01
#F4EC5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4EC5F
17.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4EC5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4EC5F | 1.00 | 1.23 | 17.01 | 17.01 |
| #FFFFFF | 1.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE44E
Deuteranopia (green-blind)
#FFEA67
Tritanopia (blue-blind)
#FFDDCE
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #f4ec5f; /* rgb */ color: rgb(244, 236, 95); /* oklch */ color: oklch(92.4% 0.160 106.0);
Tailwind
colors: {
custom: {
50: '#fbf192',
500: '#f4ec5f',
950: '#000000',
},
}SCSS
$custom: #f4ec5f; $custom-light: #fbf192; $custom-dark: #000000;
JSON
{
"hex": "#f4ec5f",
"rgb": {
"r": 244,
"g": 236,
"b": 95
},
"hsl": {
"h": 56.779,
"s": 87.135,
"l": 66.471
},
"oklch": {
"l": 0.92367,
"c": 0.15959,
"h": 106
},
"luminance": 0.8005
}Semantic roles & 50–950 ramp
primary
#F4EC5F
secondary
#3038C7
accent
#0EE402
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F