#8A8A62#8A8A62
#8A8A62 is a light, muted yellow. Relative luminance 0.245; OKLCH L 62.3% C 0.057 H 107.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A62 |
|---|---|
| RGB | rgb(138, 138, 98) |
| HSL | hsl(60, 17%, 46%) |
| HSV | hsv(60, 29%, 54%) |
| CMYK | cmyk(0%, 0%, 29%, 45.9%) |
| CIE-LAB | lab(56.55, -6.76, 21.50) |
| CIE-LCH | lch(56.55, 22.54, 107.47°) |
| OKLab | oklab(62.3% -0.0174 0.0539) |
| OKLCH | oklch(62.3% 0.057 107.9) |
| XYZ | xyz(21.7744, 24.4624, 15.1276) |
| Luminance | 0.2446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 5.88
Drab
#828344
ΔE00 6.28
Dark Khaki
#9B8F55
ΔE00 6.49
Camo
#7F8F4E
ΔE00 7.07
Moss Green
#8A9A5B
ΔE00 7.84
Green Grey
#77926F
ΔE00 9.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A62 #62628A
analogous
#8A7662 #8A8A62 #768A62
triadic
#8A8A62 #628A8A #8A628A
tetradic
#8A8A62 #628A76 #62628A #8A6276
square
#8A8A62 #628A76 #62628A #8A6276
split-complementary
#8A8A62 #62768A #76628A
monochromatic
#42422F #666649 #8A8A62 #A7A783 #C0C0A6
Accessibility & contrast
On white
3.56
#8A8A62 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#8A8A62 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A62
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A62 | 1.00 | 3.56 | 5.89 | 5.89 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91875F
Deuteranopia (green-blind)
#918864
Tritanopia (blue-blind)
#90857F
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8a8a62; /* rgb */ color: rgb(138, 138, 98); /* oklch */ color: oklch(62.3% 0.057 107.9);
Tailwind
colors: {
custom: {
50: '#acac8f',
500: '#8a8a62',
950: '#000000',
},
}SCSS
$custom: #8a8a62; $custom-light: #acac8f; $custom-dark: #000000;
JSON
{
"hex": "#8a8a62",
"rgb": {
"r": 138,
"g": 138,
"b": 98
},
"hsl": {
"h": 60,
"s": 16.949,
"l": 46.275
},
"oklch": {
"l": 0.62302,
"c": 0.0566,
"h": 107.9
},
"luminance": 0.24462
}Semantic roles & 50–950 ramp
primary
#8A8A62
secondary
#9999AF
accent
#6EBA6E
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D