#8A8A3B#8A8A3B
#8A8A3B is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.102 H 109.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A3B |
|---|---|
| RGB | rgb(138, 138, 59) |
| HSL | hsl(60, 40%, 39%) |
| HSV | hsv(60, 57%, 54%) |
| CMYK | cmyk(0%, 0%, 57.2%, 45.9%) |
| CIE-LAB | lab(55.98, -11.11, 41.49) |
| CIE-LCH | lch(55.98, 42.95, 104.99°) |
| OKLab | oklab(61.67% -0.0332 0.0962) |
| OKLCH | oklch(61.67% 0.102 109) |
| XYZ | xyz(20.3597, 23.8965, 7.6768) |
| Luminance | 0.2390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.82
Camo
#7F8F4E
ΔE00 5.92
Dark Khaki
#9B8F55
ΔE00 6.11
Olive
#808000
ΔE00 6.21
Khaki Green
#728639
ΔE00 6.44
Swamp Green
#748500
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A3B #3B3B8A
analogous
#8A623B #8A8A3B #628A3B
triadic
#8A8A3B #3B8A8A #8A3B8A
tetradic
#8A8A3B #3B8A62 #3B3B8A #8A3B62
square
#8A8A3B #3B8A62 #3B3B8A #8A3B62
split-complementary
#8A8A3B #3B628A #623B8A
monochromatic
#343416 #5F5F29 #8A8A3B #B4B44F #C6C679
Accessibility & contrast
On white
3.63
#8A8A3B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#8A8A3B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A3B
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A3B | 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)
#948533
Deuteranopia (green-blind)
#95873F
Tritanopia (blue-blind)
#938279
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8a3b; /* rgb */ color: rgb(138, 138, 59); /* oklch */ color: oklch(61.7% 0.102 109.0);
Tailwind
colors: {
custom: {
50: '#aeac74',
500: '#8a8a3b',
950: '#000000',
},
}SCSS
$custom: #8a8a3b; $custom-light: #aeac74; $custom-dark: #000000;
JSON
{
"hex": "#8a8a3b",
"rgb": {
"r": 138,
"g": 138,
"b": 59
},
"hsl": {
"h": 60,
"s": 40.102,
"l": 38.627
},
"oklch": {
"l": 0.61671,
"c": 0.10179,
"h": 109
},
"luminance": 0.23896
}Semantic roles & 50–950 ramp
primary
#8A8A3B
secondary
#7171AF
accent
#58D058
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B