#F8DF6E#F8DF6E
#F8DF6E is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 90.2% C 0.136 H 97.0°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F8DF6E |
|---|---|
| RGB | rgb(248, 223, 110) |
| HSL | hsl(49, 91%, 70%) |
| HSV | hsv(49, 56%, 97%) |
| CMYK | cmyk(0%, 10.1%, 55.6%, 2.7%) |
| CIE-LAB | lab(88.86, -4.96, 57.62) |
| CIE-LCH | lch(88.86, 57.84, 94.92°) |
| OKLab | oklab(90.23% -0.0166 0.1346) |
| OKLCH | oklch(90.23% 0.136 97) |
| XYZ | xyz(67.9161, 73.8605, 25.4279) |
| Luminance | 0.7386 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Tan
#FFE36E
ΔE00 1.30
Sand Yellow
#FCE166
ΔE00 1.35
Pale Gold
#FDDE6C
ΔE00 1.60
Sandy
#F1DA7A
ΔE00 2.55
Light Gold
#FDDC5C
ΔE00 2.65
Dull Yellow
#EEDC5B
ΔE00 2.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8DF6E #6E87F8
analogous
#F89A6E #F8DF6E #CCF86E
triadic
#F8DF6E #6EF8DF #DF6EF8
tetradic
#F8DF6E #6EF89A #6E87F8 #F86ECC
square
#F8DF6E #6EF89A #6E87F8 #F86ECC
split-complementary
#F8DF6E #6ECCF8 #9A6EF8
monochromatic
#E1BA0B #F5D234 #F8DF6E #FBECA8 #FEF9E2
Accessibility & contrast
On white
1.33
#F8DF6E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.77
#F8DF6E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8DF6E
15.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8DF6E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8DF6E | 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)
#F2DA63
Deuteranopia (green-blind)
#F9E373
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f8df6e; /* rgb */ color: rgb(248, 223, 110); /* oklch */ color: oklch(90.2% 0.136 97.0);
Tailwind
colors: {
custom: {
50: '#fde89b',
500: '#f8df6e',
950: '#000000',
},
}SCSS
$custom: #f8df6e; $custom-light: #fde89b; $custom-dark: #000000;
JSON
{
"hex": "#f8df6e",
"rgb": {
"r": 248,
"g": 223,
"b": 110
},
"hsl": {
"h": 49.13,
"s": 90.789,
"l": 70.196
},
"oklch": {
"l": 0.90227,
"c": 0.13557,
"h": 97
},
"luminance": 0.73858
}Semantic roles & 50–950 ramp
primary
#F8DF6E
secondary
#3854D3
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F