#98971E#98971E
#98971E is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.134 H 109.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #98971E |
|---|---|
| RGB | rgb(152, 151, 30) |
| HSL | hsl(60, 67%, 36%) |
| HSV | hsv(60, 80%, 60%) |
| CMYK | cmyk(0%, 0.7%, 80.3%, 40.4%) |
| CIE-LAB | lab(60.70, -13.46, 58.17) |
| CIE-LCH | lch(60.70, 59.71, 103.03°) |
| OKLab | oklab(65.66% -0.0436 0.1262) |
| OKLCH | oklch(65.66% 0.134 109.1) |
| XYZ | xyz(24.2508, 28.9031, 5.5295) |
| Luminance | 0.2890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.36
Baby Poop Green
#8F9805
ΔE00 2.69
Baby Shit Green
#889717
ΔE00 4.21
Vomit
#A2A415
ΔE00 4.23
Puke
#A5A502
ΔE00 4.92
Pea Soup Green
#94A617
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98971E #1E1F98
analogous
#985A1E #98971E #5C981E
triadic
#98971E #1E9897 #971E98
tetradic
#98971E #1E985A #1E1F98 #981E5C
square
#98971E #1E985A #1E1F98 #981E5C
split-complementary
#98971E #1E5C98 #5A1E98
monochromatic
#32310A #656414 #98971E #CBCA28 #DDDC53
Accessibility & contrast
On white
3.10
#98971E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#98971E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #98971E
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98971E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98971E | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A59429
Tritanopia (blue-blind)
#A38D81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #98971e; /* rgb */ color: rgb(152, 151, 30); /* oklch */ color: oklch(65.7% 0.134 109.1);
Tailwind
colors: {
custom: {
50: '#bab566',
500: '#98971e',
950: '#000000',
},
}SCSS
$custom: #98971e; $custom-light: #bab566; $custom-dark: #000000;
JSON
{
"hex": "#98971e",
"rgb": {
"r": 152,
"g": 151,
"b": 30
},
"hsl": {
"h": 59.508,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.65656,
"c": 0.13356,
"h": 109.1
},
"luminance": 0.28902
}Semantic roles & 50–950 ramp
primary
#98971E
secondary
#5152C0
accent
#3FEA3E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A