#F5D97A#F5D97A
#F5D97A is a very light, moderate yellow. Relative luminance 0.704; OKLCH L 88.9% C 0.119 H 93.4°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).
Color values
| HEX | #F5D97A |
|---|---|
| RGB | rgb(245, 217, 122) |
| HSL | hsl(46, 86%, 72%) |
| HSV | hsv(46, 50%, 96%) |
| CMYK | cmyk(0%, 11.4%, 50.2%, 3.9%) |
| CIE-LAB | lab(87.22, -2.17, 49.98) |
| CIE-LCH | lch(87.22, 50.02, 92.48°) |
| OKLab | oklab(88.91% -0.007 0.119) |
| OKLCH | oklch(88.91% 0.119 93.4) |
| XYZ | xyz(65.9842, 70.4462, 28.5304) |
| Luminance | 0.7044 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Wheat (survey)
#FBDD7E
ΔE00 1.12
Sandy
#F1DA7A
ΔE00 1.43
Pale Gold
#FDDE6C
ΔE00 2.82
Light Mustard
#F7D560
ΔE00 3.27
Yellow Tan
#FFE36E
ΔE00 3.61
Sand (survey)
#E2CA76
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5D97A #7A96F5
analogous
#F59B7A #F5D97A #D4F57A
triadic
#F5D97A #7AF5D9 #D97AF5
tetradic
#F5D97A #7AF59B #7A96F5 #F57AD4
square
#F5D97A #7AF59B #7A96F5 #F57AD4
split-complementary
#F5D97A #7AD4F5 #9B7AF5
monochromatic
#E3B411 #F1C941 #F5D97A #F9E9B3 #FDF7E3
Accessibility & contrast
On white
1.39
#F5D97A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.09
#F5D97A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5D97A
15.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5D97A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5D97A | 1.00 | 1.39 | 15.09 | 15.09 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD672
Deuteranopia (green-blind)
#F2DE7E
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f5d97a; /* rgb */ color: rgb(245, 217, 122); /* oklch */ color: oklch(88.9% 0.119 93.4);
Tailwind
colors: {
custom: {
50: '#fbe4a2',
500: '#f5d97a',
950: '#000000',
},
}SCSS
$custom: #f5d97a; $custom-light: #fbe4a2; $custom-dark: #000000;
JSON
{
"hex": "#f5d97a",
"rgb": {
"r": 245,
"g": 217,
"b": 122
},
"hsl": {
"h": 46.341,
"s": 86.014,
"l": 71.961
},
"oklch": {
"l": 0.88911,
"c": 0.11924,
"h": 93.4
},
"luminance": 0.70443
}Semantic roles & 50–950 ramp
primary
#F5D97A
secondary
#4363D0
accent
#36E303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480