#8A7A3A#8A7A3A
#8A7A3A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.086 H 95.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7A3A |
|---|---|
| RGB | rgb(138, 122, 58) |
| HSL | hsl(48, 41%, 38%) |
| HSV | hsv(48, 58%, 54%) |
| CMYK | cmyk(0%, 11.6%, 58%, 45.9%) |
| CIE-LAB | lab(51.41, -2.36, 36.76) |
| CIE-LCH | lch(51.41, 36.83, 93.68°) |
| OKLab | oklab(58.04% -0.0083 0.0859) |
| OKLCH | oklch(58.04% 0.086 95.5) |
| XYZ | xyz(18.2052, 19.6286, 6.8319) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 5.09
Drab
#828344
ΔE00 6.22
Poo
#8F7303
ΔE00 6.84
Puke Brown
#947706
ΔE00 6.86
Baby Poop
#937C00
ΔE00 6.92
Ugly Brown
#7D7103
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7A3A #3A4A8A
analogous
#8A523A #8A7A3A #728A3A
triadic
#8A7A3A #3A8A7A #7A3A8A
tetradic
#8A7A3A #3A8A52 #3A4A8A #8A3A72
square
#8A7A3A #3A8A52 #3A4A8A #8A3A72
split-complementary
#8A7A3A #3A728A #523A8A
monochromatic
#342E16 #5F5428 #8A7A3A #B4A04D #C6B778
Accessibility & contrast
On white
4.26
#8A7A3A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#8A7A3A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7A3A
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7A3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7A3A | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857834
Deuteranopia (green-blind)
#897D3D
Tritanopia (blue-blind)
#94726C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8a7a3a; /* rgb */ color: rgb(138, 122, 58); /* oklch */ color: oklch(58.0% 0.086 95.5);
Tailwind
colors: {
custom: {
50: '#aea072',
500: '#8a7a3a',
950: '#000000',
},
}SCSS
$custom: #8a7a3a; $custom-light: #aea072; $custom-dark: #000000;
JSON
{
"hex": "#8a7a3a",
"rgb": {
"r": 138,
"g": 122,
"b": 58
},
"hsl": {
"h": 48,
"s": 40.816,
"l": 38.431
},
"oklch": {
"l": 0.58038,
"c": 0.08633,
"h": 95.5
},
"luminance": 0.19628
}Semantic roles & 50–950 ramp
primary
#8A7A3A
secondary
#707DB0
accent
#6FD157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B