#F8DA4F#F8DA4F
#F8DA4F is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.9% C 0.156 H 96.8°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F8DA4F |
|---|---|
| RGB | rgb(248, 218, 79) |
| HSL | hsl(49, 92%, 64%) |
| HSV | hsv(49, 68%, 97%) |
| CMYK | cmyk(0%, 12.1%, 68.1%, 2.7%) |
| CIE-LAB | lab(87.32, -4.40, 69.19) |
| CIE-LCH | lch(87.32, 69.33, 93.64°) |
| OKLab | oklab(88.93% -0.0185 0.155) |
| OKLCH | oklch(88.93% 0.156 96.8) |
| XYZ | xyz(65.1972, 70.6671, 17.6016) |
| Luminance | 0.7066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Gold
#FDDC5C
ΔE00 1.55
Sand Yellow
#FCE166
ΔE00 2.37
Light Mustard
#F7D560
ΔE00 2.87
Banana
#FFE135
ΔE00 2.99
Pale Gold
#FDDE6C
ΔE00 3.00
Maize
#F4D054
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8DA4F #4F6DF8
analogous
#F8864F #F8DA4F #C2F84F
triadic
#F8DA4F #4FF8DA #DA4FF8
tetradic
#F8DA4F #4FF886 #4F6DF8 #F84FC2
square
#F8DA4F #4FF886 #4F6DF8 #F84FC2
split-complementary
#F8DA4F #4FC2F8 #864FF8
monochromatic
#C5A308 #F6CE14 #F8DA4F #FAE68A #FDF3C5
Accessibility & contrast
On white
1.39
#F8DA4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.13
#F8DA4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8DA4F
15.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8DA4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8DA4F | 1.00 | 1.39 | 15.13 | 15.13 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD53C
Deuteranopia (green-blind)
#F7DF57
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f8da4f; /* rgb */ color: rgb(248, 218, 79); /* oklch */ color: oklch(88.9% 0.156 96.8);
Tailwind
colors: {
custom: {
50: '#fee587',
500: '#f8da4f',
950: '#000000',
},
}SCSS
$custom: #f8da4f; $custom-light: #fee587; $custom-dark: #000000;
JSON
{
"hex": "#f8da4f",
"rgb": {
"r": 248,
"g": 218,
"b": 79
},
"hsl": {
"h": 49.349,
"s": 92.35,
"l": 64.118
},
"oklch": {
"l": 0.88926,
"c": 0.15605,
"h": 96.8
},
"luminance": 0.70664
}Semantic roles & 50–950 ramp
primary
#F8DA4F
secondary
#2A45C2
accent
#29E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F