#F4D562#F4D562
#F4D562 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.7% C 0.138 H 94.3°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #F4D562 |
|---|---|
| RGB | rgb(244, 213, 98) |
| HSL | hsl(47, 87%, 67%) |
| HSV | hsv(47, 60%, 96%) |
| CMYK | cmyk(0%, 12.7%, 59.8%, 4.3%) |
| CIE-LAB | lab(85.86, -2.39, 59.54) |
| CIE-LCH | lch(85.86, 59.59, 92.29°) |
| OKLab | oklab(87.74% -0.0103 0.1374) |
| OKLCH | oklch(87.74% 0.138 94.3) |
| XYZ | xyz(63.3098, 67.7065, 21.2868) |
| Luminance | 0.6770 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.81
Maize
#F4D054
ΔE00 1.88
Pale Gold
#FDDE6C
ΔE00 2.04
Light Gold
#FDDC5C
ΔE00 2.19
Sand Yellow
#FCE166
ΔE00 2.93
Yellow Tan
#FFE36E
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4D562 #6281F4
analogous
#F48C62 #F4D562 #CAF462
triadic
#F4D562 #62F4D5 #D562F4
tetradic
#F4D562 #62F48C #6281F4 #F462CA
square
#F4D562 #62F48C #6281F4 #F462CA
split-complementary
#F4D562 #62CAF4 #8C62F4
monochromatic
#CDA50E #F0C629 #F4D562 #F8E49B #FCF4D4
Accessibility & contrast
On white
1.44
#F4D562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.54
#F4D562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4D562
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4D562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4D562 | 1.00 | 1.44 | 14.54 | 14.54 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f4d562; /* rgb */ color: rgb(244, 213, 98); /* oklch */ color: oklch(87.7% 0.138 94.3);
Tailwind
colors: {
custom: {
50: '#fbe192',
500: '#f4d562',
950: '#000000',
},
}SCSS
$custom: #f4d562; $custom-light: #fbe192; $custom-dark: #000000;
JSON
{
"hex": "#f4d562",
"rgb": {
"r": 244,
"g": 213,
"b": 98
},
"hsl": {
"h": 47.26,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.87735,
"c": 0.13775,
"h": 94.3
},
"luminance": 0.67703
}Semantic roles & 50–950 ramp
primary
#F4D562
secondary
#3151C9
accent
#32E302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F