#8A8A4A#8A8A4A
#8A8A4A is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.086 H 108.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A4A |
|---|---|
| RGB | rgb(138, 138, 74) |
| HSL | hsl(60, 30%, 42%) |
| HSV | hsv(60, 46%, 54%) |
| CMYK | cmyk(0%, 0%, 46.4%, 45.9%) |
| CIE-LAB | lab(56.16, -9.71, 34.10) |
| CIE-LCH | lch(56.16, 35.45, 105.89°) |
| OKLab | oklab(61.87% -0.0276 0.0816) |
| OKLCH | oklch(61.87% 0.086 108.7) |
| XYZ | xyz(20.8061, 24.0751, 10.0282) |
| Luminance | 0.2407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.66
Camo
#7F8F4E
ΔE00 4.78
Dark Khaki
#9B8F55
ΔE00 4.94
Khaki Green
#728639
ΔE00 6.50
Moss Green
#8A9A5B
ΔE00 6.56
Swamp
#698339
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A4A #4A4A8A
analogous
#8A6A4A #8A8A4A #6A8A4A
triadic
#8A8A4A #4A8A8A #8A4A8A
tetradic
#8A8A4A #4A8A6A #4A4A8A #8A4A6A
square
#8A8A4A #4A8A6A #4A4A8A #8A4A6A
split-complementary
#8A8A4A #4A6A8A #6A4A8A
monochromatic
#3A3A1F #626235 #8A8A4A #ACAC65 #C2C28D
Accessibility & contrast
On white
3.61
#8A8A4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#8A8A4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A4A
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A4A | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938545
Deuteranopia (green-blind)
#94884D
Tritanopia (blue-blind)
#92837B
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a8a4a; /* rgb */ color: rgb(138, 138, 74); /* oklch */ color: oklch(61.9% 0.086 108.7);
Tailwind
colors: {
custom: {
50: '#adac7e',
500: '#8a8a4a',
950: '#000000',
},
}SCSS
$custom: #8a8a4a; $custom-light: #adac7e; $custom-dark: #000000;
JSON
{
"hex": "#8a8a4a",
"rgb": {
"r": 138,
"g": 138,
"b": 74
},
"hsl": {
"h": 60,
"s": 30.189,
"l": 41.569
},
"oklch": {
"l": 0.61871,
"c": 0.08618,
"h": 108.7
},
"luminance": 0.24075
}Semantic roles & 50–950 ramp
primary
#8A8A4A
secondary
#8282AE
accent
#61C661
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C