#8A8A3A#8A8A3A
#8A8A3A is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.103 H 109.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A3A |
|---|---|
| RGB | rgb(138, 138, 58) |
| HSL | hsl(60, 41%, 38%) |
| HSV | hsv(60, 58%, 54%) |
| CMYK | cmyk(0%, 0%, 58%, 45.9%) |
| CIE-LAB | lab(55.97, -11.19, 41.96) |
| CIE-LCH | lch(55.97, 43.42, 104.93°) |
| OKLab | oklab(61.66% -0.0336 0.0971) |
| OKLCH | oklch(61.66% 0.103 109.1) |
| XYZ | xyz(20.3340, 23.8863, 7.5415) |
| Luminance | 0.2389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.94
Camo
#7F8F4E
ΔE00 6.03
Olive
#808000
ΔE00 6.08
Dark Khaki
#9B8F55
ΔE00 6.21
Khaki Green
#728639
ΔE00 6.48
Baby Shit Green
#889717
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A3A #3A3A8A
analogous
#8A623A #8A8A3A #628A3A
triadic
#8A8A3A #3A8A8A #8A3A8A
tetradic
#8A8A3A #3A8A62 #3A3A8A #8A3A62
square
#8A8A3A #3A8A62 #3A3A8A #8A3A62
split-complementary
#8A8A3A #3A628A #623A8A
monochromatic
#343416 #5F5F28 #8A8A3A #B4B44D #C6C678
Accessibility & contrast
On white
3.63
#8A8A3A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#8A8A3A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A3A
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A3A | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948531
Deuteranopia (green-blind)
#95873E
Tritanopia (blue-blind)
#938279
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8a3a; /* rgb */ color: rgb(138, 138, 58); /* oklch */ color: oklch(61.7% 0.103 109.1);
Tailwind
colors: {
custom: {
50: '#aeac73',
500: '#8a8a3a',
950: '#000000',
},
}SCSS
$custom: #8a8a3a; $custom-light: #aeac73; $custom-dark: #000000;
JSON
{
"hex": "#8a8a3a",
"rgb": {
"r": 138,
"g": 138,
"b": 58
},
"hsl": {
"h": 60,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.61659,
"c": 0.10274,
"h": 109.1
},
"luminance": 0.23886
}Semantic roles & 50–950 ramp
primary
#8A8A3A
secondary
#7070B0
accent
#57D157
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B