#8A7D20#8A7D20
#8A7D20 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.110 H 101.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7D20 |
|---|---|
| RGB | rgb(138, 125, 32) |
| HSL | hsl(53, 62%, 33%) |
| HSV | hsv(53, 77%, 54%) |
| CMYK | cmyk(0%, 9.4%, 76.8%, 45.9%) |
| CIE-LAB | lab(52.04, -5.72, 49.15) |
| CIE-LCH | lch(52.04, 49.48, 96.64°) |
| OKLab | oklab(58.46% -0.021 0.108) |
| OKLCH | oklch(58.46% 0.11 101) |
| XYZ | xyz(18.0764, 20.1756, 4.3084) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.91
Hazel
#8E7618
ΔE00 4.09
Olive
#808000
ΔE00 4.47
Ugly Brown
#7D7103
ΔE00 4.93
Puke Brown
#947706
ΔE00 5.45
Poo
#8F7303
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7D20 #202D8A
analogous
#8A4820 #8A7D20 #628A20
triadic
#8A7D20 #208A7D #7D208A
tetradic
#8A7D20 #208A48 #202D8A #8A2062
square
#8A7D20 #208A48 #202D8A #8A2062
split-complementary
#8A7D20 #20628A #48208A
monochromatic
#272309 #585014 #8A7D20 #BCAA2C #D6C54E
Accessibility & contrast
On white
4.17
#8A7D20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#8A7D20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7D20
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7D20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7D20 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89790E
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#95746B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7d20; /* rgb */ color: rgb(138, 125, 32); /* oklch */ color: oklch(58.5% 0.110 101.0);
Tailwind
colors: {
custom: {
50: '#b0a263',
500: '#8a7d20',
950: '#000000',
},
}SCSS
$custom: #8a7d20; $custom-light: #b0a263; $custom-dark: #000000;
JSON
{
"hex": "#8a7d20",
"rgb": {
"r": 138,
"g": 125,
"b": 32
},
"hsl": {
"h": 52.642,
"s": 62.353,
"l": 33.333
},
"oklch": {
"l": 0.58457,
"c": 0.11,
"h": 101
},
"luminance": 0.20175
}Semantic roles & 50–950 ramp
primary
#8A7D20
secondary
#4D5AB9
accent
#56E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A