#8A8A56#8A8A56
#8A8A56 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.072 H 108.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A56 |
|---|---|
| RGB | rgb(138, 138, 86) |
| HSL | hsl(60, 23%, 44%) |
| HSV | hsv(60, 38%, 54%) |
| CMYK | cmyk(0%, 0%, 37.7%, 45.9%) |
| CIE-LAB | lab(56.34, -8.34, 27.87) |
| CIE-LCH | lch(56.34, 29.10, 106.67°) |
| OKLab | oklab(62.07% -0.0226 0.0683) |
| OKLCH | oklch(62.07% 0.072 108.3) |
| XYZ | xyz(21.2497, 24.2525, 12.3641) |
| Luminance | 0.2425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.75
Dark Khaki
#9B8F55
ΔE00 5.02
Camo
#7F8F4E
ΔE00 5.16
Moss Green
#8A9A5B
ΔE00 6.53
Khaki Green
#728639
ΔE00 7.65
Brown Grey
#8D8468
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A56 #56568A
analogous
#8A7056 #8A8A56 #708A56
triadic
#8A8A56 #568A8A #8A568A
tetradic
#8A8A56 #568A70 #56568A #8A5670
square
#8A8A56 #568A70 #56568A #8A5670
split-complementary
#8A8A56 #56708A #70568A
monochromatic
#3F3F27 #64643F #8A8A56 #A9A975 #C0C09A
Accessibility & contrast
On white
3.59
#8A8A56 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#8A8A56 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A56
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A56 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928652
Deuteranopia (green-blind)
#938858
Tritanopia (blue-blind)
#91847D
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a8a56; /* rgb */ color: rgb(138, 138, 86); /* oklch */ color: oklch(62.1% 0.072 108.3);
Tailwind
colors: {
custom: {
50: '#adac86',
500: '#8a8a56',
950: '#000000',
},
}SCSS
$custom: #8a8a56; $custom-light: #adac86; $custom-dark: #000000;
JSON
{
"hex": "#8a8a56",
"rgb": {
"r": 138,
"g": 138,
"b": 86
},
"hsl": {
"h": 60,
"s": 23.214,
"l": 43.922
},
"oklch": {
"l": 0.62069,
"c": 0.07199,
"h": 108.3
},
"luminance": 0.24252
}Semantic roles & 50–950 ramp
primary
#8A8A56
secondary
#8E8EAE
accent
#68C068
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C