#F5D259#F5D259
#F5D259 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 87.1% C 0.143 H 93.0°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D259 |
|---|---|
| RGB | rgb(245, 210, 89) |
| HSL | hsl(47, 89%, 65%) |
| HSV | hsv(47, 64%, 96%) |
| CMYK | cmyk(0%, 14.3%, 63.7%, 3.9%) |
| CIE-LAB | lab(85.11, -1.02, 62.69) |
| CIE-LCH | lch(85.11, 62.70, 90.93°) |
| OKLab | oklab(87.14% -0.0075 0.1428) |
| OKLCH | oklch(87.14% 0.143 93) |
| XYZ | xyz(62.5089, 66.2303, 18.9405) |
| Luminance | 0.6623 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.59
Light Mustard
#F7D560
ΔE00 0.84
Light Gold
#FDDC5C
ΔE00 2.40
Pale Gold
#FDDE6C
ΔE00 2.92
Sand Yellow
#FCE166
ΔE00 3.80
Yellow Tan
#FFE36E
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D259 #597CF5
analogous
#F58459 #F5D259 #CAF559
triadic
#F5D259 #59F5D2 #D259F5
tetradic
#F5D259 #59F584 #597CF5 #F559CA
square
#F5D259 #59F584 #597CF5 #F559CA
split-complementary
#F5D259 #59CAF5 #8459F5
monochromatic
#C89D0C #F2C21F #F5D259 #F8E293 #FCF1CC
Accessibility & contrast
On white
1.47
#F5D259 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.25
#F5D259 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D259
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D259 | 1.00 | 1.47 | 14.25 | 14.25 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF4B
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f5d259; /* rgb */ color: rgb(245, 210, 89); /* oklch */ color: oklch(87.1% 0.143 93.0);
Tailwind
colors: {
custom: {
50: '#fcdf8d',
500: '#f5d259',
950: '#000000',
},
}SCSS
$custom: #f5d259; $custom-light: #fcdf8d; $custom-dark: #000000;
JSON
{
"hex": "#f5d259",
"rgb": {
"r": 245,
"g": 210,
"b": 89
},
"hsl": {
"h": 46.538,
"s": 88.636,
"l": 65.49
},
"oklch": {
"l": 0.87141,
"c": 0.14303,
"h": 93
},
"luminance": 0.66227
}Semantic roles & 50–950 ramp
primary
#F5D259
secondary
#2E50C4
accent
#34E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F