#F5D159#F5D159
#F5D159 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.9% C 0.142 H 92.4°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D159 |
|---|---|
| RGB | rgb(245, 209, 89) |
| HSL | hsl(46, 89%, 65%) |
| HSV | hsv(46, 64%, 96%) |
| CMYK | cmyk(0%, 14.7%, 63.7%, 3.9%) |
| CIE-LAB | lab(84.86, -0.51, 62.42) |
| CIE-LCH | lch(84.86, 62.42, 90.47°) |
| OKLab | oklab(86.94% -0.006 0.1422) |
| OKLCH | oklch(86.94% 0.142 92.4) |
| XYZ | xyz(62.2628, 65.7380, 18.8584) |
| Luminance | 0.6573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.52
Light Mustard
#F7D560
ΔE00 1.05
Light Gold
#FDDC5C
ΔE00 2.70
Pale Gold
#FDDE6C
ΔE00 3.16
Sand Yellow
#FCE166
ΔE00 4.13
Yellow Tan
#FFE36E
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D159 #597DF5
analogous
#F58359 #F5D159 #CBF559
triadic
#F5D159 #59F5D1 #D159F5
tetradic
#F5D159 #59F583 #597DF5 #F559CB
square
#F5D159 #59F583 #597DF5 #F559CB
split-complementary
#F5D159 #59CBF5 #8359F5
monochromatic
#C89C0C #F2C11F #F5D159 #F8E193 #FCF1CC
Accessibility & contrast
On white
1.48
#F5D159 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.15
#F5D159 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D159
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D159 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D159 | 1.00 | 1.48 | 14.15 | 14.15 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CE4B
Deuteranopia (green-blind)
#EFD85F
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f5d159; /* rgb */ color: rgb(245, 209, 89); /* oklch */ color: oklch(86.9% 0.142 92.4);
Tailwind
colors: {
custom: {
50: '#fcde8d',
500: '#f5d159',
950: '#000000',
},
}SCSS
$custom: #f5d159; $custom-light: #fcde8d; $custom-dark: #000000;
JSON
{
"hex": "#f5d159",
"rgb": {
"r": 245,
"g": 209,
"b": 89
},
"hsl": {
"h": 46.154,
"s": 88.636,
"l": 65.49
},
"oklch": {
"l": 0.86942,
"c": 0.14238,
"h": 92.4
},
"luminance": 0.65735
}Semantic roles & 50–950 ramp
primary
#F5D159
secondary
#2E51C4
accent
#35E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F