#F8D56C#F8D56C
#F8D56C is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.2% C 0.130 H 91.2°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D56C |
|---|---|
| RGB | rgb(248, 213, 108) |
| HSL | hsl(45, 91%, 70%) |
| HSV | hsv(45, 56%, 97%) |
| CMYK | cmyk(0%, 14.1%, 56.5%, 2.7%) |
| CIE-LAB | lab(86.32, -0.04, 55.61) |
| CIE-LCH | lch(86.32, 55.61, 90.04°) |
| OKLab | oklab(88.22% -0.0026 0.13) |
| OKLCH | oklch(88.22% 0.13 91.2) |
| XYZ | xyz(65.2152, 68.6310, 23.9965) |
| Luminance | 0.6863 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.63
Wheat (survey)
#FBDD7E
ΔE00 2.48
Pale Gold
#FDDE6C
ΔE00 2.53
Maize
#F4D054
ΔE00 2.63
Light Gold
#FDDC5C
ΔE00 3.27
Sandy
#F1DA7A
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D56C #6C8FF8
analogous
#F88F6C #F8D56C #D5F86C
triadic
#F8D56C #6CF8D5 #D56CF8
tetradic
#F8D56C #6CF88F #6C8FF8 #F86CD5
square
#F8D56C #6CF88F #6C8FF8 #F86CD5
split-complementary
#F8D56C #6CD5F8 #8F6CF8
monochromatic
#DFAA0B #F5C432 #F8D56C #FBE6A6 #FEF6E1
Accessibility & contrast
On white
1.43
#F8D56C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.73
#F8D56C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D56C
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D56C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D56C | 1.00 | 1.43 | 14.73 | 14.73 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D262
Deuteranopia (green-blind)
#F1DC70
Tritanopia (blue-blind)
#FFC6BD
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f8d56c; /* rgb */ color: rgb(248, 213, 108); /* oklch */ color: oklch(88.2% 0.130 91.2);
Tailwind
colors: {
custom: {
50: '#fde199',
500: '#f8d56c',
950: '#000000',
},
}SCSS
$custom: #f8d56c; $custom-light: #fde199; $custom-dark: #000000;
JSON
{
"hex": "#f8d56c",
"rgb": {
"r": 248,
"g": 213,
"b": 108
},
"hsl": {
"h": 45,
"s": 90.909,
"l": 69.804
},
"oklch": {
"l": 0.88216,
"c": 0.13001,
"h": 91.2
},
"luminance": 0.68628
}Semantic roles & 50–950 ramp
primary
#F8D56C
secondary
#365DD2
accent
#39E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F