#8A8A43#8A8A43
#8A8A43 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.8% C 0.094 H 108.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A43 |
|---|---|
| RGB | rgb(138, 138, 67) |
| HSL | hsl(60, 35%, 40%) |
| HSV | hsv(60, 51%, 54%) |
| CMYK | cmyk(0%, 0%, 51.4%, 45.9%) |
| CIE-LAB | lab(56.07, -10.40, 37.62) |
| CIE-LCH | lch(56.07, 39.03, 105.46°) |
| OKLab | oklab(61.77% -0.0303 0.0888) |
| OKLCH | oklch(61.77% 0.094 108.9) |
| XYZ | xyz(20.5833, 23.9860, 8.8546) |
| Luminance | 0.2399 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.98
Camo
#7F8F4E
ΔE00 5.18
Dark Khaki
#9B8F55
ΔE00 5.39
Khaki Green
#728639
ΔE00 6.31
Moss Green
#8A9A5B
ΔE00 7.01
Olive
#808000
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A43 #43438A
analogous
#8A6643 #8A8A43 #668A43
triadic
#8A8A43 #438A8A #8A438A
tetradic
#8A8A43 #438A66 #43438A #8A4366
square
#8A8A43 #438A66 #43438A #8A4366
split-complementary
#8A8A43 #43668A #66438A
monochromatic
#38381B #61612F #8A8A43 #AFAF5B #C3C384
Accessibility & contrast
On white
3.62
#8A8A43 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#8A8A43 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A43
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A43 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94853C
Deuteranopia (green-blind)
#958847
Tritanopia (blue-blind)
#92827A
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8a8a43; /* rgb */ color: rgb(138, 138, 67); /* oklch */ color: oklch(61.8% 0.094 108.9);
Tailwind
colors: {
custom: {
50: '#aeac79',
500: '#8a8a43',
950: '#000000',
},
}SCSS
$custom: #8a8a43; $custom-light: #aeac79; $custom-dark: #000000;
JSON
{
"hex": "#8a8a43",
"rgb": {
"r": 138,
"g": 138,
"b": 67
},
"hsl": {
"h": 60,
"s": 34.634,
"l": 40.196
},
"oklch": {
"l": 0.61771,
"c": 0.09378,
"h": 108.9
},
"luminance": 0.23985
}Semantic roles & 50–950 ramp
primary
#8A8A43
secondary
#7B7BAE
accent
#5DCB5D
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101009
muted
#7F7F7B