#F8DF6D#F8DF6D
#F8DF6D is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.2% C 0.136 H 97.1°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F8DF6D |
|---|---|
| RGB | rgb(248, 223, 109) |
| HSL | hsl(49, 91%, 70%) |
| HSV | hsv(49, 56%, 97%) |
| CMYK | cmyk(0%, 10.1%, 56%, 2.7%) |
| CIE-LAB | lab(88.85, -5.03, 58.07) |
| CIE-LCH | lch(88.85, 58.29, 94.96°) |
| OKLab | oklab(90.22% -0.0169 0.1354) |
| OKLCH | oklch(90.22% 0.136 97.1) |
| XYZ | xyz(67.8620, 73.8389, 25.1428) |
| Luminance | 0.7384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 1.24
Yellow Tan
#FFE36E
ΔE00 1.27
Pale Gold
#FDDE6C
ΔE00 1.61
Light Gold
#FDDC5C
ΔE00 2.57
Sandy
#F1DA7A
ΔE00 2.66
Dull Yellow
#EEDC5B
ΔE00 2.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8DF6D #6D86F8
analogous
#F89A6D #F8DF6D #CBF86D
triadic
#F8DF6D #6DF8DF #DF6DF8
tetradic
#F8DF6D #6DF89A #6D86F8 #F86DCB
square
#F8DF6D #6DF89A #6D86F8 #F86DCB
split-complementary
#F8DF6D #6DCBF8 #9A6DF8
monochromatic
#E0BA0B #F5D233 #F8DF6D #FBECA7 #FEF9E2
Accessibility & contrast
On white
1.33
#F8DF6D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.77
#F8DF6D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8DF6D
15.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8DF6D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8DF6D | 1.00 | 1.33 | 15.77 | 15.77 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DA62
Deuteranopia (green-blind)
#F9E372
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f8df6d; /* rgb */ color: rgb(248, 223, 109); /* oklch */ color: oklch(90.2% 0.136 97.1);
Tailwind
colors: {
custom: {
50: '#fde89a',
500: '#f8df6d',
950: '#000000',
},
}SCSS
$custom: #f8df6d; $custom-light: #fde89a; $custom-dark: #000000;
JSON
{
"hex": "#f8df6d",
"rgb": {
"r": 248,
"g": 223,
"b": 109
},
"hsl": {
"h": 49.209,
"s": 90.85,
"l": 70
},
"oklch": {
"l": 0.90215,
"c": 0.13646,
"h": 97.1
},
"luminance": 0.73836
}Semantic roles & 50–950 ramp
primary
#F8DF6D
secondary
#3753D2
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F