#8A8E2E#8A8E2E
#8A8E2E is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.117 H 111.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8E2E |
|---|---|
| RGB | rgb(138, 142, 46) |
| HSL | hsl(63, 51%, 37%) |
| HSV | hsv(63, 68%, 56%) |
| CMYK | cmyk(2.8%, 0%, 67.6%, 44.3%) |
| CIE-LAB | lab(57.02, -14.18, 48.50) |
| CIE-LCH | lch(57.02, 50.53, 106.30°) |
| OKLab | oklab(62.46% -0.0434 0.1092) |
| OKLCH | oklch(62.46% 0.117 111.7) |
| XYZ | xyz(20.6480, 24.9470, 6.3118) |
| Luminance | 0.2495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.31
Baby Poop Green
#8F9805
ΔE00 4.98
Pea Soup
#929901
ΔE00 5.43
Swamp Green
#748500
ΔE00 5.73
Olive
#808000
ΔE00 5.75
Drab
#828344
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8E2E #322E8E
analogous
#8E622E #8A8E2E #5A8E2E
triadic
#8A8E2E #2E8A8E #8E2E8A
tetradic
#8A8E2E #2E8E62 #322E8E #8E2E5A
square
#8A8E2E #2E8E62 #322E8E #8E2E5A
split-complementary
#8A8E2E #2E5A8E #622E8E
monochromatic
#303210 #5D601F #8A8E2E #B7BC3D #CACE68
Accessibility & contrast
On white
3.51
#8A8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#8A8E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8E2E
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8E2E | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998820
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#93857B
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8e2e; /* rgb */ color: rgb(138, 142, 46); /* oklch */ color: oklch(62.5% 0.117 111.7);
Tailwind
colors: {
custom: {
50: '#afae6c',
500: '#8a8e2e',
950: '#000000',
},
}SCSS
$custom: #8a8e2e; $custom-light: #afae6c; $custom-dark: #000000;
JSON
{
"hex": "#8a8e2e",
"rgb": {
"r": 138,
"g": 142,
"b": 46
},
"hsl": {
"h": 62.5,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.62463,
"c": 0.11748,
"h": 111.7
},
"luminance": 0.24947
}Semantic roles & 50–950 ramp
primary
#8A8E2E
secondary
#6663B5
accent
#4DDB53
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A