#8A7B29#8A7B29
#8A7B29 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.102 H 98.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7B29 |
|---|---|
| RGB | rgb(138, 123, 41) |
| HSL | hsl(51, 54%, 35%) |
| HSV | hsv(51, 70%, 54%) |
| CMYK | cmyk(0%, 10.9%, 70.3%, 45.9%) |
| CIE-LAB | lab(51.53, -4.13, 45.01) |
| CIE-LCH | lch(51.53, 45.20, 95.25°) |
| OKLab | oklab(58.08% -0.0155 0.101) |
| OKLCH | oklch(58.08% 0.102 98.7) |
| XYZ | xyz(17.9653, 19.7301, 4.9594) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.51
Baby Poop
#937C00
ΔE00 4.48
Ugly Brown
#7D7103
ΔE00 4.99
Puke Brown
#947706
ΔE00 5.25
Poo
#8F7303
ΔE00 5.37
Olive
#808000
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7B29 #29388A
analogous
#8A4B29 #8A7B29 #688A29
triadic
#8A7B29 #298A7B #7B298A
tetradic
#8A7B29 #298A4B #29388A #8A2968
square
#8A7B29 #298A4B #29388A #8A2968
split-complementary
#8A7B29 #29688A #4B298A
monochromatic
#2C270D #5B511B #8A7B29 #B9A537 #CFBE5E
Accessibility & contrast
On white
4.25
#8A7B29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#8A7B29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7B29
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7B29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7B29 | 1.00 | 4.25 | 4.95 | 4.95 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87781E
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#95726A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8a7b29; /* rgb */ color: rgb(138, 123, 41); /* oklch */ color: oklch(58.1% 0.102 98.7);
Tailwind
colors: {
custom: {
50: '#afa068',
500: '#8a7b29',
950: '#000000',
},
}SCSS
$custom: #8a7b29; $custom-light: #afa068; $custom-dark: #000000;
JSON
{
"hex": "#8a7b29",
"rgb": {
"r": 138,
"g": 123,
"b": 41
},
"hsl": {
"h": 50.722,
"s": 54.19,
"l": 35.098
},
"oklch": {
"l": 0.58077,
"c": 0.10214,
"h": 98.7
},
"luminance": 0.19729
}Semantic roles & 50–950 ramp
primary
#8A7B29
secondary
#5A68B5
accent
#61DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A