#8A8E4E#8A8E4E
#8A8E4E is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.087 H 111.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8E4E |
|---|---|
| RGB | rgb(138, 142, 78) |
| HSL | hsl(64, 29%, 43%) |
| HSV | hsv(64, 45%, 56%) |
| CMYK | cmyk(2.8%, 0%, 45.1%, 44.3%) |
| CIE-LAB | lab(57.37, -11.44, 33.47) |
| CIE-LCH | lch(57.37, 35.37, 108.87°) |
| OKLab | oklab(62.85% -0.0322 0.0805) |
| OKLCH | oklch(62.85% 0.087 111.8) |
| XYZ | xyz(21.5297, 25.2997, 10.9554) |
| Luminance | 0.2530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Camo
#7F8F4E
ΔE00 3.49
Drab
#828344
ΔE00 3.89
Moss Green
#8A9A5B
ΔE00 4.86
Dark Khaki
#9B8F55
ΔE00 5.56
Khaki Green
#728639
ΔE00 6.24
Drab Green
#749551
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8E4E #524E8E
analogous
#8E724E #8A8E4E #6A8E4E
triadic
#8A8E4E #4E8A8E #8E4E8A
tetradic
#8A8E4E #4E8E72 #524E8E #8E4E6A
square
#8A8E4E #4E8E72 #524E8E #8E4E6A
split-complementary
#8A8E4E #4E6A8E #724E8E
monochromatic
#3D3F23 #646638 #8A8E4E #AAAE6B #C1C493
Accessibility & contrast
On white
3.47
#8A8E4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#8A8E4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8E4E
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8E4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8E4E | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978949
Deuteranopia (green-blind)
#978B51
Tritanopia (blue-blind)
#91877F
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8a8e4e; /* rgb */ color: rgb(138, 142, 78); /* oklch */ color: oklch(62.8% 0.087 111.8);
Tailwind
colors: {
custom: {
50: '#adaf81',
500: '#8a8e4e',
950: '#000000',
},
}SCSS
$custom: #8a8e4e; $custom-light: #adaf81; $custom-dark: #000000;
JSON
{
"hex": "#8a8e4e",
"rgb": {
"r": 138,
"g": 142,
"b": 78
},
"hsl": {
"h": 63.75,
"s": 29.091,
"l": 43.137
},
"oklch": {
"l": 0.62847,
"c": 0.08672,
"h": 111.8
},
"luminance": 0.25299
}Semantic roles & 50–950 ramp
primary
#8A8E4E
secondary
#8A88B0
accent
#62C569
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C