#8B8A4E#8B8A4E
#8B8A4E is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.081 H 107.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8B8A4E |
|---|---|
| RGB | rgb(139, 138, 78) |
| HSL | hsl(59, 28%, 43%) |
| HSV | hsv(59, 44%, 55%) |
| CMYK | cmyk(0%, 0.7%, 43.9%, 45.5%) |
| CIE-LAB | lab(56.30, -8.85, 32.17) |
| CIE-LCH | lch(56.30, 33.37, 105.38°) |
| OKLab | oklab(62.02% -0.0248 0.0776) |
| OKLCH | oklch(62.02% 0.081 107.7) |
| XYZ | xyz(21.1115, 24.2165, 10.7684) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.91
Dark Khaki
#9B8F55
ΔE00 4.52
Camo
#7F8F4E
ΔE00 5.05
Moss Green
#8A9A5B
ΔE00 6.62
Khaki Green
#728639
ΔE00 7.05
Swamp
#698339
ΔE00 8.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B8A4E #4E4F8B
analogous
#8B6B4E #8B8A4E #6E8B4E
triadic
#8B8A4E #4E8B8A #8A4E8B
tetradic
#8B8A4E #4E8B6B #4E4F8B #8B4E6E
square
#8B8A4E #4E8B6B #4E4F8B #8B4E6E
split-complementary
#8B8A4E #4E6E8B #6B4E8B
monochromatic
#3D3C22 #646338 #8B8A4E #ACAB6B #C2C192
Accessibility & contrast
On white
3.59
#8B8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#8B8A4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B8A4E
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B8A4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B8A4E | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938649
Deuteranopia (green-blind)
#948851
Tritanopia (blue-blind)
#93837C
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8b8a4e; /* rgb */ color: rgb(139, 138, 78); /* oklch */ color: oklch(62.0% 0.081 107.7);
Tailwind
colors: {
custom: {
50: '#aeac81',
500: '#8b8a4e',
950: '#000000',
},
}SCSS
$custom: #8b8a4e; $custom-light: #aeac81; $custom-dark: #000000;
JSON
{
"hex": "#8b8a4e",
"rgb": {
"r": 139,
"g": 138,
"b": 78
},
"hsl": {
"h": 59.016,
"s": 28.111,
"l": 42.549
},
"oklch": {
"l": 0.62022,
"c": 0.08149,
"h": 107.7
},
"luminance": 0.24216
}Semantic roles & 50–950 ramp
primary
#8B8A4E
secondary
#8787AE
accent
#65C463
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C