#F5D562#F5D562
#F5D562 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.138 H 93.8°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D562 |
|---|---|
| RGB | rgb(245, 213, 98) |
| HSL | hsl(47, 88%, 67%) |
| HSV | hsv(47, 60%, 96%) |
| CMYK | cmyk(0%, 13.1%, 60%, 3.9%) |
| CIE-LAB | lab(85.95, -1.97, 59.67) |
| CIE-LCH | lch(85.95, 59.70, 91.90°) |
| OKLab | oklab(87.83% -0.0092 0.1376) |
| OKLCH | oklch(87.83% 0.138 93.8) |
| XYZ | xyz(63.6578, 67.8860, 21.3032) |
| Luminance | 0.6788 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 0.56
Maize
#F4D054
ΔE00 1.74
Pale Gold
#FDDE6C
ΔE00 2.02
Light Gold
#FDDC5C
ΔE00 2.14
Sand Yellow
#FCE166
ΔE00 3.02
Yellow Tan
#FFE36E
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D562 #6282F5
analogous
#F58C62 #F5D562 #CBF562
triadic
#F5D562 #62F5D5 #D562F5
tetradic
#F5D562 #62F58C #6282F5 #F562CB
square
#F5D562 #62F58C #6282F5 #F562CB
split-complementary
#F5D562 #62CBF5 #8C62F5
monochromatic
#CFA50D #F1C628 #F5D562 #F9E49C #FCF4D5
Accessibility & contrast
On white
1.44
#F5D562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.58
#F5D562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D562
14.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D562 | 1.00 | 1.44 | 14.58 | 14.58 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.58 | 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: #f5d562; /* rgb */ color: rgb(245, 213, 98); /* oklch */ color: oklch(87.8% 0.138 93.8);
Tailwind
colors: {
custom: {
50: '#fce192',
500: '#f5d562',
950: '#000000',
},
}SCSS
$custom: #f5d562; $custom-light: #fce192; $custom-dark: #000000;
JSON
{
"hex": "#f5d562",
"rgb": {
"r": 245,
"g": 213,
"b": 98
},
"hsl": {
"h": 46.939,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.87827,
"c": 0.13792,
"h": 93.8
},
"luminance": 0.67883
}Semantic roles & 50–950 ramp
primary
#F5D562
secondary
#3052CB
accent
#32E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F