#F8D97E#F8D97E
#F8D97E is a very light, moderate orange. Relative luminance 0.711; OKLCH L 89.2% C 0.116 H 91.1°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).
Color values
| HEX | #F8D97E |
|---|---|
| RGB | rgb(248, 217, 126) |
| HSL | hsl(45, 90%, 73%) |
| HSV | hsv(45, 49%, 97%) |
| CMYK | cmyk(0%, 12.5%, 49.2%, 2.7%) |
| CIE-LAB | lab(87.53, -0.61, 48.48) |
| CIE-LCH | lch(87.53, 48.49, 90.72°) |
| OKLab | oklab(89.24% -0.0023 0.116) |
| OKLCH | oklch(89.24% 0.116 91.1) |
| XYZ | xyz(67.2925, 71.0915, 29.9121) |
| Luminance | 0.7109 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 1.10
Sandy
#F1DA7A
ΔE00 2.51
Pale Gold
#FDDE6C
ΔE00 3.38
Light Mustard
#F7D560
ΔE00 3.69
Sand (survey)
#E2CA76
ΔE00 4.27
Yellow Tan
#FFE36E
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8D97E #7E9DF8
analogous
#F89C7E #F8D97E #DAF87E
triadic
#F8D97E #7EF8D9 #D97EF8
tetradic
#F8D97E #7EF89C #7E9DF8 #F87EDA
square
#F8D97E #7EF89C #7E9DF8 #F87EDA
split-complementary
#F8D97E #7EDAF8 #9C7EF8
monochromatic
#EFB50D #F5C844 #F8D97E #FBEAB8 #FDF6E2
Accessibility & contrast
On white
1.38
#F8D97E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.22
#F8D97E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8D97E
15.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8D97E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8D97E | 1.00 | 1.38 | 15.22 | 15.22 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD676
Deuteranopia (green-blind)
#F3DF81
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f8d97e; /* rgb */ color: rgb(248, 217, 126); /* oklch */ color: oklch(89.2% 0.116 91.1);
Tailwind
colors: {
custom: {
50: '#fde4a5',
500: '#f8d97e',
950: '#000000',
},
}SCSS
$custom: #f8d97e; $custom-light: #fde4a5; $custom-dark: #000000;
JSON
{
"hex": "#f8d97e",
"rgb": {
"r": 248,
"g": 217,
"b": 126
},
"hsl": {
"h": 44.754,
"s": 89.706,
"l": 73.333
},
"oklch": {
"l": 0.89237,
"c": 0.11601,
"h": 91.1
},
"luminance": 0.71089
}Semantic roles & 50–950 ramp
primary
#F8D97E
secondary
#466AD5
accent
#3AE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480