#8A7B2E#8A7B2E
#8A7B2E is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.098 H 98.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7B2E |
|---|---|
| RGB | rgb(138, 123, 46) |
| HSL | hsl(50, 50%, 36%) |
| HSV | hsv(50, 67%, 54%) |
| CMYK | cmyk(0%, 10.9%, 66.7%, 45.9%) |
| CIE-LAB | lab(51.57, -3.82, 42.81) |
| CIE-LCH | lch(51.57, 42.98, 95.10°) |
| OKLab | oklab(58.12% -0.014 0.0972) |
| OKLCH | oklch(58.12% 0.098 98.2) |
| XYZ | xyz(18.0581, 19.7673, 5.4485) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.85
Baby Poop
#937C00
ΔE00 5.08
Ugly Brown
#7D7103
ΔE00 5.43
Puke Brown
#947706
ΔE00 5.64
Poo
#8F7303
ΔE00 5.73
Drab
#828344
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7B2E #2E3D8A
analogous
#8A4D2E #8A7B2E #6B8A2E
triadic
#8A7B2E #2E8A7B #7B2E8A
tetradic
#8A7B2E #2E8A4D #2E3D8A #8A2E6B
square
#8A7B2E #2E8A4D #2E3D8A #8A2E6B
split-complementary
#8A7B2E #2E6B8A #4D2E8A
monochromatic
#2E290F #5C521F #8A7B2E #B8A43D #CCBC66
Accessibility & contrast
On white
4.24
#8A7B2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#8A7B2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7B2E
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7B2E | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 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)
#877825
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#95726B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8a7b2e; /* rgb */ color: rgb(138, 123, 46); /* oklch */ color: oklch(58.1% 0.098 98.2);
Tailwind
colors: {
custom: {
50: '#afa06b',
500: '#8a7b2e',
950: '#000000',
},
}SCSS
$custom: #8a7b2e; $custom-light: #afa06b; $custom-dark: #000000;
JSON
{
"hex": "#8a7b2e",
"rgb": {
"r": 138,
"g": 123,
"b": 46
},
"hsl": {
"h": 50.217,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.58124,
"c": 0.09817,
"h": 98.2
},
"luminance": 0.19766
}Semantic roles & 50–950 ramp
primary
#8A7B2E
secondary
#616EB3
accent
#65DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A