#8A883B#8A883B
#8A883B is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.099 H 107.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8A883B |
|---|---|
| RGB | rgb(138, 136, 59) |
| HSL | hsl(58, 40%, 39%) |
| HSV | hsv(58, 57%, 54%) |
| CMYK | cmyk(0%, 1.4%, 57.2%, 45.9%) |
| CIE-LAB | lab(55.41, -10.03, 40.84) |
| CIE-LCH | lch(55.41, 42.05, 103.80°) |
| OKLab | oklab(61.21% -0.0301 0.0948) |
| OKLCH | oklch(61.21% 0.099 107.6) |
| XYZ | xyz(20.0754, 23.3279, 7.5821) |
| Luminance | 0.2333 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.41
Dark Khaki
#9B8F55
ΔE00 5.89
Olive
#808000
ΔE00 6.03
Camo
#7F8F4E
ΔE00 6.39
Khaki Green
#728639
ΔE00 6.74
Shit Green
#758000
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A883B #3B3D8A
analogous
#8A603B #8A883B #648A3B
triadic
#8A883B #3B8A88 #883B8A
tetradic
#8A883B #3B8A60 #3B3D8A #8A3B64
square
#8A883B #3B8A60 #3B3D8A #8A3B64
split-complementary
#8A883B #3B648A #603B8A
monochromatic
#343316 #5F5E29 #8A883B #B4B14F #C6C479
Accessibility & contrast
On white
3.71
#8A883B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#8A883B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A883B
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A883B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A883B | 1.00 | 3.71 | 5.67 | 5.67 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928333
Deuteranopia (green-blind)
#94863F
Tritanopia (blue-blind)
#938077
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a883b; /* rgb */ color: rgb(138, 136, 59); /* oklch */ color: oklch(61.2% 0.099 107.6);
Tailwind
colors: {
custom: {
50: '#aeaa74',
500: '#8a883b',
950: '#000000',
},
}SCSS
$custom: #8a883b; $custom-light: #aeaa74; $custom-dark: #000000;
JSON
{
"hex": "#8a883b",
"rgb": {
"r": 138,
"g": 136,
"b": 59
},
"hsl": {
"h": 58.481,
"s": 40.102,
"l": 38.627
},
"oklch": {
"l": 0.61212,
"c": 0.09949,
"h": 107.6
},
"luminance": 0.23327
}Semantic roles & 50–950 ramp
primary
#8A883B
secondary
#7173AF
accent
#5BD058
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B