#8A9143#8A9143
#8A9143 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.4% C 0.102 H 113.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9143 |
|---|---|
| RGB | rgb(138, 145, 67) |
| HSL | hsl(65, 37%, 42%) |
| HSV | hsv(65, 54%, 57%) |
| CMYK | cmyk(4.8%, 0%, 53.8%, 43.1%) |
| CIE-LAB | lab(58.09, -14.15, 39.99) |
| CIE-LCH | lch(58.09, 42.42, 109.49°) |
| OKLab | oklab(63.38% -0.041 0.0939) |
| OKLCH | oklch(63.38% 0.102 113.6) |
| XYZ | xyz(21.6202, 26.0597, 9.2002) |
| Luminance | 0.2606 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Camo
#7F8F4E
ΔE00 4.11
Moss Green
#8A9A5B
ΔE00 5.10
Drab
#828344
ΔE00 5.32
Baby Shit Green
#889717
ΔE00 5.96
Khaki Green
#728639
ΔE00 6.04
Dark Khaki
#9B8F55
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9143 #4A4391
analogous
#917143 #8A9143 #639143
triadic
#8A9143 #438A91 #91438A
tetradic
#8A9143 #439171 #4A4391 #914363
square
#8A9143 #439171 #4A4391 #914363
split-complementary
#8A9143 #436391 #714391
monochromatic
#3A3D1C #626730 #8A9143 #ACB45D #C2C887
Accessibility & contrast
On white
3.38
#8A9143 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#8A9143 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A9143
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9143 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9143 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8B3B
Deuteranopia (green-blind)
#9A8C47
Tritanopia (blue-blind)
#92897F
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8a9143; /* rgb */ color: rgb(138, 145, 67); /* oklch */ color: oklch(63.4% 0.102 113.6);
Tailwind
colors: {
custom: {
50: '#aeb17a',
500: '#8a9143',
950: '#000000',
},
}SCSS
$custom: #8a9143; $custom-light: #aeb17a; $custom-dark: #000000;
JSON
{
"hex": "#8a9143",
"rgb": {
"r": 138,
"g": 145,
"b": 67
},
"hsl": {
"h": 65.385,
"s": 36.792,
"l": 41.569
},
"oklch": {
"l": 0.63383,
"c": 0.10244,
"h": 113.6
},
"luminance": 0.26059
}Semantic roles & 50–950 ramp
primary
#8A9143
secondary
#827DB2
accent
#5BCD65
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#101009
muted
#7F7F7B