#F8DF6C#F8DF6C
#F8DF6C is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.2% C 0.137 H 97.2°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F8DF6C |
|---|---|
| RGB | rgb(248, 223, 108) |
| HSL | hsl(49, 91%, 70%) |
| HSV | hsv(49, 56%, 97%) |
| CMYK | cmyk(0%, 10.1%, 56.5%, 2.7%) |
| CIE-LAB | lab(88.84, -5.11, 58.51) |
| CIE-LCH | lch(88.84, 58.73, 94.99°) |
| OKLab | oklab(90.2% -0.0173 0.1362) |
| OKLCH | oklch(90.2% 0.137 97.2) |
| XYZ | xyz(67.8084, 73.8175, 24.8609) |
| Luminance | 0.7381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.14
Yellow Tan
#FFE36E
ΔE00 1.26
Pale Gold
#FDDE6C
ΔE00 1.63
Light Gold
#FDDC5C
ΔE00 2.51
Dull Yellow
#EEDC5B
ΔE00 2.69
Sandy
#F1DA7A
ΔE00 2.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8DF6C #6C85F8
analogous
#F8996C #F8DF6C #CBF86C
triadic
#F8DF6C #6CF8DF #DF6CF8
tetradic
#F8DF6C #6CF899 #6C85F8 #F86CCB
square
#F8DF6C #6CF899 #6C85F8 #F86CCB
split-complementary
#F8DF6C #6CCBF8 #996CF8
monochromatic
#DFB90B #F5D232 #F8DF6C #FBECA6 #FEF8E1
Accessibility & contrast
On white
1.33
#F8DF6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.76
#F8DF6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8DF6C
15.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8DF6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8DF6C | 1.00 | 1.33 | 15.76 | 15.76 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DA61
Deuteranopia (green-blind)
#F9E371
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f8df6c; /* rgb */ color: rgb(248, 223, 108); /* oklch */ color: oklch(90.2% 0.137 97.2);
Tailwind
colors: {
custom: {
50: '#fde899',
500: '#f8df6c',
950: '#000000',
},
}SCSS
$custom: #f8df6c; $custom-light: #fde899; $custom-dark: #000000;
JSON
{
"hex": "#f8df6c",
"rgb": {
"r": 248,
"g": 223,
"b": 108
},
"hsl": {
"h": 49.286,
"s": 90.909,
"l": 69.804
},
"oklch": {
"l": 0.90204,
"c": 0.13733,
"h": 97.2
},
"luminance": 0.73815
}Semantic roles & 50–950 ramp
primary
#F8DF6C
secondary
#3652D2
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F