#F2D97A#F2D97A
#F2D97A is a very light, moderate yellow. Relative luminance 0.699; OKLCH L 88.6% C 0.119 H 95.0°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D97A |
|---|---|
| RGB | rgb(242, 217, 122) |
| HSL | hsl(48, 82%, 71%) |
| HSV | hsv(48, 50%, 95%) |
| CMYK | cmyk(0%, 10.3%, 49.6%, 5.1%) |
| CIE-LAB | lab(86.95, -3.37, 49.60) |
| CIE-LCH | lch(86.95, 49.71, 93.89°) |
| OKLab | oklab(88.64% -0.0104 0.1182) |
| OKLCH | oklch(88.64% 0.119 95) |
| XYZ | xyz(64.9458, 69.9108, 28.4817) |
| Luminance | 0.6991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 0.61
Wheat (survey)
#FBDD7E
ΔE00 1.77
Pale Gold
#FDDE6C
ΔE00 3.10
Light Mustard
#F7D560
ΔE00 3.64
Yellow Tan
#FFE36E
ΔE00 3.67
Sand (survey)
#E2CA76
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D97A #7A93F2
analogous
#F29D7A #F2D97A #CFF27A
triadic
#F2D97A #7AF2D9 #D97AF2
tetradic
#F2D97A #7AF29D #7A93F2 #F27ACF
square
#F2D97A #7AF29D #7A93F2 #F27ACF
split-complementary
#F2D97A #7ACFF2 #9D7AF2
monochromatic
#DCB316 #EDC942 #F2D97A #F7E9B2 #FCF7E3
Accessibility & contrast
On white
1.40
#F2D97A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.98
#F2D97A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D97A
14.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D97A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D97A | 1.00 | 1.40 | 14.98 | 14.98 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD572
Deuteranopia (green-blind)
#F1DD7E
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f2d97a; /* rgb */ color: rgb(242, 217, 122); /* oklch */ color: oklch(88.6% 0.119 95.0);
Tailwind
colors: {
custom: {
50: '#f8e4a2',
500: '#f2d97a',
950: '#000000',
},
}SCSS
$custom: #f2d97a; $custom-light: #f8e4a2; $custom-dark: #000000;
JSON
{
"hex": "#f2d97a",
"rgb": {
"r": 242,
"g": 217,
"b": 122
},
"hsl": {
"h": 47.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.88641,
"c": 0.11868,
"h": 95
},
"luminance": 0.69908
}Semantic roles & 50–950 ramp
primary
#F2D97A
secondary
#4460CD
accent
#34DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480