#F5D557#F5D557
#F5D557 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.7% C 0.147 H 94.9°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D557 |
|---|---|
| RGB | rgb(245, 213, 87) |
| HSL | hsl(48, 89%, 65%) |
| HSV | hsv(48, 64%, 96%) |
| CMYK | cmyk(0%, 13.1%, 64.5%, 3.9%) |
| CIE-LAB | lab(85.85, -2.67, 64.33) |
| CIE-LCH | lch(85.85, 64.39, 92.37°) |
| OKLab | oklab(87.72% -0.0125 0.146) |
| OKLCH | oklch(87.72% 0.147 94.9) |
| XYZ | xyz(63.1737, 67.6923, 18.7534) |
| Luminance | 0.6769 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.24
Maize
#F4D054
ΔE00 1.52
Light Gold
#FDDC5C
ΔE00 1.64
Pale Gold
#FDDE6C
ΔE00 2.50
Sand Yellow
#FCE166
ΔE00 2.88
Yellow Tan
#FFE36E
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D557 #5777F5
analogous
#F58657 #F5D557 #C6F557
triadic
#F5D557 #57F5D5 #D557F5
tetradic
#F5D557 #57F586 #5777F5 #F557C6
square
#F5D557 #57F586 #5777F5 #F557C6
split-complementary
#F5D557 #57C6F5 #8657F5
monochromatic
#C6A00C #F2C71D #F5D557 #F8E391 #FCF2CB
Accessibility & contrast
On white
1.44
#F5D557 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.54
#F5D557 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D557
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D557 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D557 | 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)
#EAD148
Deuteranopia (green-blind)
#F2DB5D
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f5d557; /* rgb */ color: rgb(245, 213, 87); /* oklch */ color: oklch(87.7% 0.147 94.9);
Tailwind
colors: {
custom: {
50: '#fce18c',
500: '#f5d557',
950: '#000000',
},
}SCSS
$custom: #f5d557; $custom-light: #fce18c; $custom-dark: #000000;
JSON
{
"hex": "#f5d557",
"rgb": {
"r": 245,
"g": 213,
"b": 87
},
"hsl": {
"h": 47.848,
"s": 88.764,
"l": 65.098
},
"oklch": {
"l": 0.87719,
"c": 0.14655,
"h": 94.9
},
"luminance": 0.67689
}Semantic roles & 50–950 ramp
primary
#F5D557
secondary
#2D4CC3
accent
#2FE500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F