#8A8B59#8A8B59
#8A8B59 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.070 H 109.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8B59 |
|---|---|
| RGB | rgb(138, 139, 89) |
| HSL | hsl(61, 22%, 45%) |
| HSV | hsv(61, 36%, 55%) |
| CMYK | cmyk(0.7%, 0%, 36%, 45.5%) |
| CIE-LAB | lab(56.67, -8.52, 26.66) |
| CIE-LCH | lch(56.67, 27.99, 107.72°) |
| OKLab | oklab(62.35% -0.0229 0.0657) |
| OKLCH | oklch(62.35% 0.07 109.2) |
| XYZ | xyz(21.5172, 24.5901, 13.0621) |
| Luminance | 0.2459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.33
Camo
#7F8F4E
ΔE00 5.10
Dark Khaki
#9B8F55
ΔE00 5.33
Moss Green
#8A9A5B
ΔE00 6.25
Brown Grey
#8D8468
ΔE00 7.77
Khaki Green
#728639
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8B59 #5A598B
analogous
#8B7359 #8A8B59 #718B59
triadic
#8A8B59 #598A8B #8B598A
tetradic
#8A8B59 #598B73 #5A598B #8B5971
square
#8A8B59 #598B73 #5A598B #8B5971
split-complementary
#8A8B59 #59718B #73598B
monochromatic
#404029 #656641 #8A8B59 #A8A978 #C0C19E
Accessibility & contrast
On white
3.55
#8A8B59 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#8A8B59 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8B59
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8B59 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8B59 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938755
Deuteranopia (green-blind)
#93895B
Tritanopia (blue-blind)
#91857E
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8a8b59; /* rgb */ color: rgb(138, 139, 89); /* oklch */ color: oklch(62.4% 0.070 109.2);
Tailwind
colors: {
custom: {
50: '#adac88',
500: '#8a8b59',
950: '#000000',
},
}SCSS
$custom: #8a8b59; $custom-light: #adac88; $custom-dark: #000000;
JSON
{
"hex": "#8a8b59",
"rgb": {
"r": 138,
"g": 139,
"b": 89
},
"hsl": {
"h": 61.2,
"s": 21.93,
"l": 44.706
},
"oklch": {
"l": 0.62351,
"c": 0.06955,
"h": 109.2
},
"luminance": 0.2459
}Semantic roles & 50–950 ramp
primary
#8A8B59
secondary
#9291AE
accent
#69BE6B
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C