#8A7F29#8A7F29
#8A7F29 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.106 H 101.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7F29 |
|---|---|
| RGB | rgb(138, 127, 41) |
| HSL | hsl(53, 54%, 35%) |
| HSV | hsv(53, 70%, 54%) |
| CMYK | cmyk(0%, 8%, 70.3%, 45.9%) |
| CIE-LAB | lab(52.67, -6.36, 46.16) |
| CIE-LCH | lch(52.67, 46.60, 97.84°) |
| OKLab | oklab(58.98% -0.0218 0.1034) |
| OKLCH | oklch(58.98% 0.106 101.9) |
| XYZ | xyz(18.4716, 20.7429, 5.1282) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.56
Baby Poop
#937C00
ΔE00 4.98
Hazel
#8E7618
ΔE00 5.06
Ugly Brown
#7D7103
ΔE00 5.84
Drab
#828344
ΔE00 5.87
Puke Brown
#947706
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7F29 #29348A
analogous
#8A4F29 #8A7F29 #648A29
triadic
#8A7F29 #298A7F #7F298A
tetradic
#8A7F29 #298A4F #29348A #8A2964
square
#8A7F29 #298A4F #29348A #8A2964
split-complementary
#8A7F29 #29648A #4F298A
monochromatic
#2C280D #5B541B #8A7F29 #B9AA37 #CFC25E
Accessibility & contrast
On white
4.08
#8A7F29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#8A7F29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7F29
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7F29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7F29 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#95766E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a7f29; /* rgb */ color: rgb(138, 127, 41); /* oklch */ color: oklch(59.0% 0.106 101.9);
Tailwind
colors: {
custom: {
50: '#afa368',
500: '#8a7f29',
950: '#000000',
},
}SCSS
$custom: #8a7f29; $custom-light: #afa368; $custom-dark: #000000;
JSON
{
"hex": "#8a7f29",
"rgb": {
"r": 138,
"g": 127,
"b": 41
},
"hsl": {
"h": 53.196,
"s": 54.19,
"l": 35.098
},
"oklch": {
"l": 0.58978,
"c": 0.10568,
"h": 101.9
},
"luminance": 0.20742
}Semantic roles & 50–950 ramp
primary
#8A7F29
secondary
#5A64B5
accent
#5BDE4A
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A