#8A7D24#8A7D24
#8A7D24 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.107 H 100.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7D24 |
|---|---|
| RGB | rgb(138, 125, 36) |
| HSL | hsl(52, 59%, 34%) |
| HSV | hsv(52, 74%, 54%) |
| CMYK | cmyk(0%, 9.4%, 73.9%, 45.9%) |
| CIE-LAB | lab(52.06, -5.52, 47.63) |
| CIE-LCH | lch(52.06, 47.95, 96.62°) |
| OKLab | oklab(58.49% -0.02 0.1056) |
| OKLCH | oklch(58.49% 0.107 100.8) |
| XYZ | xyz(18.1341, 20.1987, 4.6123) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.13
Baby Poop
#937C00
ΔE00 4.20
Olive
#808000
ΔE00 4.74
Ugly Brown
#7D7103
ΔE00 5.08
Puke Brown
#947706
ΔE00 5.59
Poo
#8F7303
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7D24 #24318A
analogous
#8A4A24 #8A7D24 #648A24
triadic
#8A7D24 #248A7D #7D248A
tetradic
#8A7D24 #248A4A #24318A #8A2464
square
#8A7D24 #248A4A #24318A #8A2464
split-complementary
#8A7D24 #24648A #4A248A
monochromatic
#29250B #595117 #8A7D24 #BBA931 #D3C356
Accessibility & contrast
On white
4.17
#8A7D24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#8A7D24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7D24
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7D24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7D24 | 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)
#897915
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#95746B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7d24; /* rgb */ color: rgb(138, 125, 36); /* oklch */ color: oklch(58.5% 0.107 100.8);
Tailwind
colors: {
custom: {
50: '#afa265',
500: '#8a7d24',
950: '#000000',
},
}SCSS
$custom: #8a7d24; $custom-light: #afa265; $custom-dark: #000000;
JSON
{
"hex": "#8a7d24",
"rgb": {
"r": 138,
"g": 125,
"b": 36
},
"hsl": {
"h": 52.353,
"s": 58.621,
"l": 34.118
},
"oklch": {
"l": 0.58486,
"c": 0.10744,
"h": 100.8
},
"luminance": 0.20198
}Semantic roles & 50–950 ramp
primary
#8A7D24
secondary
#5360B7
accent
#5AE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A