#8A8A4B#8A8A4B
#8A8A4B is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.085 H 108.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A4B |
|---|---|
| RGB | rgb(138, 138, 75) |
| HSL | hsl(60, 30%, 42%) |
| HSV | hsv(60, 46%, 54%) |
| CMYK | cmyk(0%, 0%, 45.7%, 45.9%) |
| CIE-LAB | lab(56.18, -9.60, 33.59) |
| CIE-LCH | lch(56.18, 34.93, 105.96°) |
| OKLab | oklab(61.89% -0.0272 0.0806) |
| OKLCH | oklch(61.89% 0.085 108.6) |
| XYZ | xyz(20.8401, 24.0887, 10.2070) |
| Luminance | 0.2409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.67
Camo
#7F8F4E
ΔE00 4.75
Dark Khaki
#9B8F55
ΔE00 4.90
Moss Green
#8A9A5B
ΔE00 6.51
Khaki Green
#728639
ΔE00 6.56
Swamp
#698339
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A4B #4B4B8A
analogous
#8A6B4B #8A8A4B #6B8A4B
triadic
#8A8A4B #4B8A8A #8A4B8A
tetradic
#8A8A4B #4B8A6B #4B4B8A #8A4B6B
square
#8A8A4B #4B8A6B #4B4B8A #8A4B6B
split-complementary
#8A8A4B #4B6B8A #6B4B8A
monochromatic
#3B3B20 #626235 #8A8A4B #ACAC66 #C2C28E
Accessibility & contrast
On white
3.61
#8A8A4B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#8A8A4B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A4B
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A4B | 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)
#938546
Deuteranopia (green-blind)
#94884E
Tritanopia (blue-blind)
#92837B
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a8a4b; /* rgb */ color: rgb(138, 138, 75); /* oklch */ color: oklch(61.9% 0.085 108.6);
Tailwind
colors: {
custom: {
50: '#adac7e',
500: '#8a8a4b',
950: '#000000',
},
}SCSS
$custom: #8a8a4b; $custom-light: #adac7e; $custom-dark: #000000;
JSON
{
"hex": "#8a8a4b",
"rgb": {
"r": 138,
"g": 138,
"b": 75
},
"hsl": {
"h": 60,
"s": 29.577,
"l": 41.765
},
"oklch": {
"l": 0.61886,
"c": 0.08504,
"h": 108.6
},
"luminance": 0.24088
}Semantic roles & 50–950 ramp
primary
#8A8A4B
secondary
#8383AE
accent
#62C662
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C