#8A973B#8A973B
#8A973B is a light, moderate yellow. Relative luminance 0.279; OKLCH L 64.7% C 0.118 H 116.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8A973B |
|---|---|
| RGB | rgb(138, 151, 59) |
| HSL | hsl(68, 44%, 41%) |
| HSV | hsv(68, 61%, 59%) |
| CMYK | cmyk(8.6%, 0%, 60.9%, 40.8%) |
| CIE-LAB | lab(59.76, -17.97, 45.69) |
| CIE-LCH | lch(59.76, 49.10, 111.47°) |
| OKLab | oklab(64.69% -0.0526 0.1052) |
| OKLCH | oklch(64.69% 0.118 116.6) |
| XYZ | xyz(22.3377, 27.8525, 8.3362) |
| Luminance | 0.2785 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.85
Ugly Green
#7A9703
ΔE00 5.26
Baby Poop Green
#8F9805
ΔE00 5.33
Moss Green
#8A9A5B
ΔE00 5.64
Camo
#7F8F4E
ΔE00 5.65
Pea Soup
#929901
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A973B #483B97
analogous
#97763B #8A973B #5C973B
triadic
#8A973B #3B8A97 #973B8A
tetradic
#8A973B #3B9776 #483B97 #973B5C
square
#8A973B #3B9776 #483B97 #973B5C
split-complementary
#8A973B #3B5C97 #763B97
monochromatic
#3A3F19 #626B2A #8A973B #ADBC53 #C2CD7F
Accessibility & contrast
On white
3.20
#8A973B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#8A973B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A973B
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A973B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A973B | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18F31
Deuteranopia (green-blind)
#A09141
Tritanopia (blue-blind)
#928F83
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #8a973b; /* rgb */ color: rgb(138, 151, 59); /* oklch */ color: oklch(64.7% 0.118 116.6);
Tailwind
colors: {
custom: {
50: '#aeb575',
500: '#8a973b',
950: '#000000',
},
}SCSS
$custom: #8a973b; $custom-light: #aeb575; $custom-dark: #000000;
JSON
{
"hex": "#8a973b",
"rgb": {
"r": 138,
"g": 151,
"b": 59
},
"hsl": {
"h": 68.478,
"s": 43.81,
"l": 41.176
},
"oklch": {
"l": 0.64686,
"c": 0.11759,
"h": 116.6
},
"luminance": 0.27852
}Semantic roles & 50–950 ramp
primary
#8A973B
secondary
#8077B7
accent
#54D466
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B