#8A7F32#8A7F32
#8A7F32 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.098 H 101.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7F32 |
|---|---|
| RGB | rgb(138, 127, 50) |
| HSL | hsl(53, 47%, 37%) |
| HSV | hsv(53, 64%, 54%) |
| CMYK | cmyk(0%, 8%, 63.8%, 45.9%) |
| CIE-LAB | lab(52.74, -5.78, 42.20) |
| CIE-LCH | lch(52.74, 42.59, 97.80°) |
| OKLab | oklab(59.07% -0.0191 0.0965) |
| OKLCH | oklch(59.07% 0.098 101.2) |
| XYZ | xyz(18.6471, 20.8131, 6.0521) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.96
Hazel
#8E7618
ΔE00 5.45
Olive
#808000
ΔE00 5.61
Baby Poop
#937C00
ΔE00 5.88
Ugly Brown
#7D7103
ΔE00 6.46
Puke Brown
#947706
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7F32 #323D8A
analogous
#8A5332 #8A7F32 #698A32
triadic
#8A7F32 #328A7F #7F328A
tetradic
#8A7F32 #328A53 #323D8A #8A3269
square
#8A7F32 #328A53 #323D8A #8A3269
split-complementary
#8A7F32 #32698A #53328A
monochromatic
#302C11 #5D5622 #8A7F32 #B7A842 #CABE6C
Accessibility & contrast
On white
4.07
#8A7F32 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#8A7F32 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7F32
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7F32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7F32 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B29
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#94766F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a7f32; /* rgb */ color: rgb(138, 127, 50); /* oklch */ color: oklch(59.1% 0.098 101.2);
Tailwind
colors: {
custom: {
50: '#afa36d',
500: '#8a7f32',
950: '#000000',
},
}SCSS
$custom: #8a7f32; $custom-light: #afa36d; $custom-dark: #000000;
JSON
{
"hex": "#8a7f32",
"rgb": {
"r": 138,
"g": 127,
"b": 50
},
"hsl": {
"h": 52.5,
"s": 46.809,
"l": 36.863
},
"oklch": {
"l": 0.59065,
"c": 0.09837,
"h": 101.2
},
"luminance": 0.20812
}Semantic roles & 50–950 ramp
primary
#8A7F32
secondary
#6670B2
accent
#62D651
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F07
muted
#807F7A