#8A983F#8A983F
#8A983F is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.0% C 0.115 H 117.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8A983F |
|---|---|
| RGB | rgb(138, 152, 63) |
| HSL | hsl(69, 41%, 42%) |
| HSV | hsv(69, 59%, 60%) |
| CMYK | cmyk(9.2%, 0%, 58.6%, 40.4%) |
| CIE-LAB | lab(60.09, -18.16, 44.20) |
| CIE-LCH | lch(60.09, 47.79, 112.34°) |
| OKLab | oklab(64.96% -0.0527 0.1025) |
| OKLCH | oklch(64.96% 0.115 117.2) |
| XYZ | xyz(22.6070, 28.2189, 8.9575) |
| Luminance | 0.2822 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.41
Moss Green
#8A9A5B
ΔE00 5.04
Camo
#7F8F4E
ΔE00 5.31
Ugly Green
#7A9703
ΔE00 5.61
Baby Poop Green
#8F9805
ΔE00 5.91
Pea Soup
#929901
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A983F #4D3F98
analogous
#98793F #8A983F #5E983F
triadic
#8A983F #3F8A98 #983F8A
tetradic
#8A983F #3F9879 #4D3F98 #983F5E
square
#8A983F #3F9879 #4D3F98 #983F5E
split-complementary
#8A983F #3F5E98 #793F98
monochromatic
#3B411B #636D2D #8A983F #ABBA5A #C1CC85
Accessibility & contrast
On white
3.16
#8A983F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#8A983F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A983F
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A983F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A983F | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29035
Deuteranopia (green-blind)
#A09144
Tritanopia (blue-blind)
#929085
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #8a983f; /* rgb */ color: rgb(138, 152, 63); /* oklch */ color: oklch(65.0% 0.115 117.2);
Tailwind
colors: {
custom: {
50: '#aeb677',
500: '#8a983f',
950: '#000000',
},
}SCSS
$custom: #8a983f; $custom-light: #aeb677; $custom-dark: #000000;
JSON
{
"hex": "#8a983f",
"rgb": {
"r": 138,
"g": 152,
"b": 63
},
"hsl": {
"h": 69.438,
"s": 41.395,
"l": 42.157
},
"oklch": {
"l": 0.64964,
"c": 0.11527,
"h": 117.2
},
"luminance": 0.28219
}Semantic roles & 50–950 ramp
primary
#8A983F
secondary
#857CB7
accent
#57D16A
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111109
muted
#80807B