#8A7B24#8A7B24
#8A7B24 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.106 H 99.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7B24 |
|---|---|
| RGB | rgb(138, 123, 36) |
| HSL | hsl(51, 59%, 34%) |
| HSV | hsv(51, 74%, 54%) |
| CMYK | cmyk(0%, 10.9%, 73.9%, 45.9%) |
| CIE-LAB | lab(51.49, -4.41, 47.07) |
| CIE-LCH | lch(51.49, 47.28, 95.35°) |
| OKLab | oklab(58.04% -0.0169 0.1044) |
| OKLCH | oklch(58.04% 0.106 99.2) |
| XYZ | xyz(17.8835, 19.6974, 4.5287) |
| Luminance | 0.1970 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.31
Baby Poop
#937C00
ΔE00 3.98
Ugly Brown
#7D7103
ΔE00 4.66
Puke Brown
#947706
ΔE00 4.96
Poo
#8F7303
ΔE00 5.10
Olive
#808000
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7B24 #24338A
analogous
#8A4824 #8A7B24 #668A24
triadic
#8A7B24 #248A7B #7B248A
tetradic
#8A7B24 #248A48 #24338A #8A2466
square
#8A7B24 #248A48 #24338A #8A2466
split-complementary
#8A7B24 #24668A #48248A
monochromatic
#29240B #595017 #8A7B24 #BBA631 #D3C056
Accessibility & contrast
On white
4.25
#8A7B24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#8A7B24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7B24
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7B24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7B24 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877816
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#95726A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8a7b24; /* rgb */ color: rgb(138, 123, 36); /* oklch */ color: oklch(58.0% 0.106 99.2);
Tailwind
colors: {
custom: {
50: '#afa065',
500: '#8a7b24',
950: '#000000',
},
}SCSS
$custom: #8a7b24; $custom-light: #afa065; $custom-dark: #000000;
JSON
{
"hex": "#8a7b24",
"rgb": {
"r": 138,
"g": 123,
"b": 36
},
"hsl": {
"h": 51.176,
"s": 58.621,
"l": 34.118
},
"oklch": {
"l": 0.58035,
"c": 0.10573,
"h": 99.2
},
"luminance": 0.19697
}Semantic roles & 50–950 ramp
primary
#8A7B24
secondary
#5362B7
accent
#5DE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A