#8A9345#8A9345
#8A9345 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 63.9% C 0.103 H 114.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9345 |
|---|---|
| RGB | rgb(138, 147, 69) |
| HSL | hsl(67, 36%, 42%) |
| HSV | hsv(67, 53%, 58%) |
| CMYK | cmyk(6.1%, 0%, 53.1%, 42.4%) |
| CIE-LAB | lab(58.70, -15.02, 39.70) |
| CIE-LCH | lch(58.70, 42.44, 110.73°) |
| OKLab | oklab(63.87% -0.0432 0.0935) |
| OKLCH | oklch(63.87% 0.103 114.8) |
| XYZ | xyz(21.9895, 26.7007, 9.6244) |
| Luminance | 0.2670 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Camo
#7F8F4E
ΔE00 3.89
Moss Green
#8A9A5B
ΔE00 4.47
Baby Shit Green
#889717
ΔE00 5.91
Drab
#828344
ΔE00 5.94
Khaki Green
#728639
ΔE00 6.19
Drab Green
#749551
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9345 #4E4593
analogous
#937545 #8A9345 #639345
triadic
#8A9345 #458A93 #93458A
tetradic
#8A9345 #459375 #4E4593 #934563
square
#8A9345 #459375 #4E4593 #934563
split-complementary
#8A9345 #456393 #754593
monochromatic
#3C401E #636931 #8A9345 #ABB561 #C1C88A
Accessibility & contrast
On white
3.31
#8A9345 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#8A9345 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A9345
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9345 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9345 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8D3E
Deuteranopia (green-blind)
#9C8E49
Tritanopia (blue-blind)
#928C81
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8a9345; /* rgb */ color: rgb(138, 147, 69); /* oklch */ color: oklch(63.9% 0.103 114.8);
Tailwind
colors: {
custom: {
50: '#aeb27b',
500: '#8a9345',
950: '#000000',
},
}SCSS
$custom: #8a9345; $custom-light: #aeb27b; $custom-dark: #000000;
JSON
{
"hex": "#8a9345",
"rgb": {
"r": 138,
"g": 147,
"b": 69
},
"hsl": {
"h": 66.923,
"s": 36.111,
"l": 42.353
},
"oklch": {
"l": 0.63872,
"c": 0.10298,
"h": 114.8
},
"luminance": 0.267
}Semantic roles & 50–950 ramp
primary
#8A9345
secondary
#8680B3
accent
#5CCC69
background
#FAFAF7
surface
#F5F5EE
border
#CFCFC9
text
#101009
muted
#7F7F7B