#F5D54C#F5D54C
#F5D54C is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.6% C 0.154 H 95.7°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D54C |
|---|---|
| RGB | rgb(245, 213, 76) |
| HSL | hsl(49, 89%, 63%) |
| HSV | hsv(49, 69%, 96%) |
| CMYK | cmyk(0%, 13.1%, 69%, 3.9%) |
| CIE-LAB | lab(85.77, -3.27, 68.70) |
| CIE-LCH | lch(85.77, 68.77, 92.72°) |
| OKLab | oklab(87.63% -0.0154 0.1535) |
| OKLCH | oklch(87.63% 0.154 95.7) |
| XYZ | xyz(62.7581, 67.5261, 16.5643) |
| Luminance | 0.6752 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 1.92
Maize
#F4D054
ΔE00 2.08
Light Mustard
#F7D560
ΔE00 2.31
Sand Yellow
#FCE166
ΔE00 3.21
Pale Gold
#FDDE6C
ΔE00 3.30
Banana
#FFE135
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D54C #4C6CF5
analogous
#F5804C #F5D54C #C0F54C
triadic
#F5D54C #4CF5D5 #D54CF5
tetradic
#F5D54C #4CF580 #4C6CF5 #F54CC0
square
#F5D54C #4CF580 #4C6CF5 #F54CC0
split-complementary
#F5D54C #4CC0F5 #804CF5
monochromatic
#BC9A0B #F2C712 #F5D54C #F8E386 #FBF0C0
Accessibility & contrast
On white
1.45
#F5D54C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.50
#F5D54C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D54C
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D54C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D54C | 1.00 | 1.45 | 14.50 | 14.50 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD139
Deuteranopia (green-blind)
#F2DB54
Tritanopia (blue-blind)
#FFC5B9
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f5d54c; /* rgb */ color: rgb(245, 213, 76); /* oklch */ color: oklch(87.6% 0.154 95.7);
Tailwind
colors: {
custom: {
50: '#fce185',
500: '#f5d54c',
950: '#000000',
},
}SCSS
$custom: #f5d54c; $custom-light: #fce185; $custom-dark: #000000;
JSON
{
"hex": "#f5d54c",
"rgb": {
"r": 245,
"g": 213,
"b": 76
},
"hsl": {
"h": 48.639,
"s": 89.418,
"l": 62.941
},
"oklch": {
"l": 0.87626,
"c": 0.15427,
"h": 95.7
},
"luminance": 0.67523
}Semantic roles & 50–950 ramp
primary
#F5D54C
secondary
#2B46BA
accent
#2BE600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F