#F4E062#F4E062
#F4E062 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.9% C 0.146 H 100.3°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).
Color values
| HEX | #F4E062 |
|---|---|
| RGB | rgb(244, 224, 98) |
| HSL | hsl(52, 87%, 67%) |
| HSV | hsv(52, 60%, 96%) |
| CMYK | cmyk(0%, 8.2%, 59.8%, 4.3%) |
| CIE-LAB | lab(88.65, -7.94, 62.65) |
| CIE-LCH | lch(88.65, 63.15, 97.22°) |
| OKLab | oklab(89.95% -0.0263 0.144) |
| OKLCH | oklch(89.95% 0.146 100.3) |
| XYZ | xyz(66.1710, 73.4290, 22.2406) |
| Luminance | 0.7343 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.16
Sand Yellow
#FCE166
ΔE00 1.93
Yellow Tan
#FFE36E
ΔE00 2.60
Sandy Yellow
#FDEE73
ΔE00 3.19
Pale Gold
#FDDE6C
ΔE00 3.34
Light Gold
#FDDC5C
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4E062 #6276F4
analogous
#F49762 #F4E062 #BFF462
triadic
#F4E062 #62F4E0 #E062F4
tetradic
#F4E062 #62F497 #6276F4 #F462BF
square
#F4E062 #62F497 #6276F4 #F462BF
split-complementary
#F4E062 #62BFF4 #9762F4
monochromatic
#CDB30E #F0D529 #F4E062 #F8EB9B #FCF7D4
Accessibility & contrast
On white
1.34
#F4E062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.69
#F4E062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4E062
15.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4E062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4E062 | 1.00 | 1.34 | 15.69 | 15.69 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F9E268
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f4e062; /* rgb */ color: rgb(244, 224, 98); /* oklch */ color: oklch(89.9% 0.146 100.3);
Tailwind
colors: {
custom: {
50: '#fbe993',
500: '#f4e062',
950: '#000000',
},
}SCSS
$custom: #f4e062; $custom-light: #fbe993; $custom-dark: #000000;
JSON
{
"hex": "#f4e062",
"rgb": {
"r": 244,
"g": 224,
"b": 98
},
"hsl": {
"h": 51.781,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.89946,
"c": 0.14637,
"h": 100.3
},
"luminance": 0.73426
}Semantic roles & 50–950 ramp
primary
#F4E062
secondary
#3146C9
accent
#21E302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F