#8A7D32#8A7D32
#8A7D32 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.097 H 99.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7D32 |
|---|---|
| RGB | rgb(138, 125, 50) |
| HSL | hsl(51, 47%, 37%) |
| HSV | hsv(51, 64%, 54%) |
| CMYK | cmyk(0%, 9.4%, 63.8%, 45.9%) |
| CIE-LAB | lab(52.18, -4.67, 41.58) |
| CIE-LCH | lch(52.18, 41.84, 96.40°) |
| OKLab | oklab(58.61% -0.0159 0.0952) |
| OKLCH | oklch(58.61% 0.097 99.5) |
| XYZ | xyz(18.3913, 20.3016, 5.9668) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.78
Drab
#828344
ΔE00 5.49
Baby Poop
#937C00
ΔE00 5.66
Ugly Brown
#7D7103
ΔE00 6.09
Olive
#808000
ΔE00 6.19
Puke Brown
#947706
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7D32 #323F8A
analogous
#8A5132 #8A7D32 #6B8A32
triadic
#8A7D32 #328A7D #7D328A
tetradic
#8A7D32 #328A51 #323F8A #8A326B
square
#8A7D32 #328A51 #323F8A #8A326B
split-complementary
#8A7D32 #326B8A #51328A
monochromatic
#302C11 #5D5422 #8A7D32 #B7A642 #CABC6C
Accessibility & contrast
On white
4.15
#8A7D32 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#8A7D32 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7D32
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7D32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7D32 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887A2A
Deuteranopia (green-blind)
#8C7F36
Tritanopia (blue-blind)
#94746D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7d32; /* rgb */ color: rgb(138, 125, 50); /* oklch */ color: oklch(58.6% 0.097 99.5);
Tailwind
colors: {
custom: {
50: '#afa26d',
500: '#8a7d32',
950: '#000000',
},
}SCSS
$custom: #8a7d32; $custom-light: #afa26d; $custom-dark: #000000;
JSON
{
"hex": "#8a7d32",
"rgb": {
"r": 138,
"g": 125,
"b": 50
},
"hsl": {
"h": 51.136,
"s": 46.809,
"l": 36.863
},
"oklch": {
"l": 0.58614,
"c": 0.0965,
"h": 99.5
},
"luminance": 0.20301
}Semantic roles & 50–950 ramp
primary
#8A7D32
secondary
#6671B2
accent
#65D651
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A