#8A7A2E#8A7A2E
#8A7A2E is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.097 H 97.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7A2E |
|---|---|
| RGB | rgb(138, 122, 46) |
| HSL | hsl(50, 50%, 36%) |
| HSV | hsv(50, 67%, 54%) |
| CMYK | cmyk(0%, 11.6%, 66.7%, 45.9%) |
| CIE-LAB | lab(51.29, -3.26, 42.50) |
| CIE-LCH | lch(51.29, 42.63, 94.39°) |
| OKLab | oklab(57.9% -0.0124 0.0965) |
| OKLCH | oklch(57.9% 0.097 97.3) |
| XYZ | xyz(17.9347, 19.5205, 5.4074) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.58
Baby Poop
#937C00
ΔE00 5.10
Ugly Brown
#7D7103
ΔE00 5.35
Puke Brown
#947706
ΔE00 5.43
Poo
#8F7303
ΔE00 5.45
Yellowish Brown
#9B7A01
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7A2E #2E3E8A
analogous
#8A4C2E #8A7A2E #6C8A2E
triadic
#8A7A2E #2E8A7A #7A2E8A
tetradic
#8A7A2E #2E8A4C #2E3E8A #8A2E6C
square
#8A7A2E #2E8A4C #2E3E8A #8A2E6C
split-complementary
#8A7A2E #2E6C8A #4C2E8A
monochromatic
#2E290F #5C511F #8A7A2E #B8A33D #CCBA66
Accessibility & contrast
On white
4.28
#8A7A2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#8A7A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7A2E
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7A2E | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#8A7D32
Tritanopia (blue-blind)
#95716A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8a7a2e; /* rgb */ color: rgb(138, 122, 46); /* oklch */ color: oklch(57.9% 0.097 97.3);
Tailwind
colors: {
custom: {
50: '#afa06b',
500: '#8a7a2e',
950: '#000000',
},
}SCSS
$custom: #8a7a2e; $custom-light: #afa06b; $custom-dark: #000000;
JSON
{
"hex": "#8a7a2e",
"rgb": {
"r": 138,
"g": 122,
"b": 46
},
"hsl": {
"h": 49.565,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.579,
"c": 0.09731,
"h": 97.3
},
"luminance": 0.1952
}Semantic roles & 50–950 ramp
primary
#8A7A2E
secondary
#616FB3
accent
#66DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A