#F5D457#F5D457
#F5D457 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.5% C 0.146 H 94.3°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D457 |
|---|---|
| RGB | rgb(245, 212, 87) |
| HSL | hsl(47, 89%, 65%) |
| HSV | hsv(47, 64%, 96%) |
| CMYK | cmyk(0%, 13.5%, 64.5%, 3.9%) |
| CIE-LAB | lab(85.60, -2.16, 64.06) |
| CIE-LCH | lch(85.60, 64.10, 91.93°) |
| OKLab | oklab(87.52% -0.011 0.1455) |
| OKLCH | oklch(87.52% 0.146 94.3) |
| XYZ | xyz(62.9230, 67.1908, 18.6698) |
| Luminance | 0.6719 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.05
Maize
#F4D054
ΔE00 1.17
Light Gold
#FDDC5C
ΔE00 1.83
Pale Gold
#FDDE6C
ΔE00 2.63
Sand Yellow
#FCE166
ΔE00 3.16
Yellow Tan
#FFE36E
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D457 #5778F5
analogous
#F58557 #F5D457 #C7F557
triadic
#F5D457 #57F5D4 #D457F5
tetradic
#F5D457 #57F585 #5778F5 #F557C7
square
#F5D457 #57F585 #5778F5 #F557C7
split-complementary
#F5D457 #57C7F5 #8557F5
monochromatic
#C69F0C #F2C51D #F5D457 #F8E391 #FCF2CB
Accessibility & contrast
On white
1.45
#F5D457 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.44
#F5D457 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D457
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D457 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D457 | 1.00 | 1.45 | 14.44 | 14.44 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D048
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f5d457; /* rgb */ color: rgb(245, 212, 87); /* oklch */ color: oklch(87.5% 0.146 94.3);
Tailwind
colors: {
custom: {
50: '#fce08c',
500: '#f5d457',
950: '#000000',
},
}SCSS
$custom: #f5d457; $custom-light: #fce08c; $custom-dark: #000000;
JSON
{
"hex": "#f5d457",
"rgb": {
"r": 245,
"g": 212,
"b": 87
},
"hsl": {
"h": 47.468,
"s": 88.764,
"l": 65.098
},
"oklch": {
"l": 0.8752,
"c": 0.14587,
"h": 94.3
},
"luminance": 0.67188
}Semantic roles & 50–950 ramp
primary
#F5D457
secondary
#2D4DC3
accent
#30E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F