#F5D74C#F5D74C
#F5D74C is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 88.0% C 0.156 H 96.8°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D74C |
|---|---|
| RGB | rgb(245, 215, 76) |
| HSL | hsl(49, 89%, 63%) |
| HSV | hsv(49, 69%, 96%) |
| CMYK | cmyk(0%, 12.2%, 69%, 3.9%) |
| CIE-LAB | lab(86.28, -4.28, 69.21) |
| CIE-LCH | lch(86.28, 69.34, 93.54°) |
| OKLab | oklab(88.03% -0.0183 0.1546) |
| OKLCH | oklch(88.03% 0.156 96.8) |
| XYZ | xyz(63.2642, 68.5384, 16.7330) |
| Luminance | 0.6854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 1.91
Maize
#F4D054
ΔE00 2.72
Light Mustard
#F7D560
ΔE00 2.72
Sand Yellow
#FCE166
ΔE00 2.85
Pale Gold
#FDDE6C
ΔE00 3.29
Dull Yellow
#EEDC5B
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D74C #4C6AF5
analogous
#F5824C #F5D74C #BFF54C
triadic
#F5D74C #4CF5D7 #D74CF5
tetradic
#F5D74C #4CF582 #4C6AF5 #F54CBF
square
#F5D74C #4CF582 #4C6AF5 #F54CBF
split-complementary
#F5D74C #4CBFF5 #824CF5
monochromatic
#BC9D0B #F2CA12 #F5D74C #F8E486 #FBF1C0
Accessibility & contrast
On white
1.43
#F5D74C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.71
#F5D74C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D74C
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D74C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D74C | 1.00 | 1.43 | 14.71 | 14.71 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD238
Deuteranopia (green-blind)
#F4DC54
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f5d74c; /* rgb */ color: rgb(245, 215, 76); /* oklch */ color: oklch(88.0% 0.156 96.8);
Tailwind
colors: {
custom: {
50: '#fce386',
500: '#f5d74c',
950: '#000000',
},
}SCSS
$custom: #f5d74c; $custom-light: #fce386; $custom-dark: #000000;
JSON
{
"hex": "#f5d74c",
"rgb": {
"r": 245,
"g": 215,
"b": 76
},
"hsl": {
"h": 49.349,
"s": 89.418,
"l": 62.941
},
"oklch": {
"l": 0.88027,
"c": 0.15566,
"h": 96.8
},
"luminance": 0.68535
}Semantic roles & 50–950 ramp
primary
#F5D74C
secondary
#2B44BA
accent
#29E600
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F