#F5D552#F5D552
#F5D552 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.7% C 0.150 H 95.3°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D552 |
|---|---|
| RGB | rgb(245, 213, 82) |
| HSL | hsl(48, 89%, 64%) |
| HSV | hsv(48, 67%, 96%) |
| CMYK | cmyk(0%, 13.1%, 66.5%, 3.9%) |
| CIE-LAB | lab(85.81, -2.95, 66.36) |
| CIE-LCH | lch(85.81, 66.42, 92.55°) |
| OKLab | oklab(87.68% -0.0139 0.1495) |
| OKLCH | oklch(87.68% 0.15 95.3) |
| XYZ | xyz(62.9765, 67.6134, 17.7146) |
| Luminance | 0.6761 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 1.69
Maize
#F4D054
ΔE00 1.71
Light Mustard
#F7D560
ΔE00 1.74
Pale Gold
#FDDE6C
ΔE00 2.85
Sand Yellow
#FCE166
ΔE00 2.98
Yellow Tan
#FFE36E
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D552 #5272F5
analogous
#F58452 #F5D552 #C4F552
triadic
#F5D552 #52F5D5 #D552F5
tetradic
#F5D552 #52F584 #5272F5 #F552C4
square
#F5D552 #52F584 #5272F5 #F552C4
split-complementary
#F5D552 #52C4F5 #8452F5
monochromatic
#C19E0B #F2C718 #F5D552 #F8E38C #FCF1C6
Accessibility & contrast
On white
1.45
#F5D552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.52
#F5D552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D552
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D552 | 1.00 | 1.45 | 14.52 | 14.52 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#F2DB59
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f5d552; /* rgb */ color: rgb(245, 213, 82); /* oklch */ color: oklch(87.7% 0.150 95.3);
Tailwind
colors: {
custom: {
50: '#fce189',
500: '#f5d552',
950: '#000000',
},
}SCSS
$custom: #f5d552; $custom-light: #fce189; $custom-dark: #000000;
JSON
{
"hex": "#f5d552",
"rgb": {
"r": 245,
"g": 213,
"b": 82
},
"hsl": {
"h": 48.221,
"s": 89.071,
"l": 64.118
},
"oklch": {
"l": 0.87675,
"c": 0.15017,
"h": 95.3
},
"luminance": 0.6761
}Semantic roles & 50–950 ramp
primary
#F5D552
secondary
#2C49BF
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F