#8A7A2B#8A7A2B
#8A7A2B is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.100 H 97.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7A2B |
|---|---|
| RGB | rgb(138, 122, 43) |
| HSL | hsl(50, 52%, 35%) |
| HSV | hsv(50, 69%, 54%) |
| CMYK | cmyk(0%, 11.6%, 68.8%, 45.9%) |
| CIE-LAB | lab(51.26, -3.45, 43.85) |
| CIE-LCH | lch(51.26, 43.98, 94.50°) |
| OKLab | oklab(57.87% -0.0133 0.0988) |
| OKLCH | oklch(57.87% 0.1 97.7) |
| XYZ | xyz(17.8776, 19.4976, 5.1068) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.32
Baby Poop
#937C00
ΔE00 4.72
Ugly Brown
#7D7103
ΔE00 5.05
Puke Brown
#947706
ΔE00 5.16
Poo
#8F7303
ΔE00 5.19
Olive
#808000
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7A2B #2B3B8A
analogous
#8A4B2B #8A7A2B #6A8A2B
triadic
#8A7A2B #2B8A7A #7A2B8A
tetradic
#8A7A2B #2B8A4B #2B3B8A #8A2B6A
square
#8A7A2B #2B8A4B #2B3B8A #8A2B6A
split-complementary
#8A7A2B #2B6A8A #4B2B8A
monochromatic
#2D270E #5B511C #8A7A2B #B9A33A #CEBC61
Accessibility & contrast
On white
4.29
#8A7A2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#8A7A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7A2B
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7A2B | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 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)
#867721
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#95716A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8a7a2b; /* rgb */ color: rgb(138, 122, 43); /* oklch */ color: oklch(57.9% 0.100 97.7);
Tailwind
colors: {
custom: {
50: '#afa069',
500: '#8a7a2b',
950: '#000000',
},
}SCSS
$custom: #8a7a2b; $custom-light: #afa069; $custom-dark: #000000;
JSON
{
"hex": "#8a7a2b",
"rgb": {
"r": 138,
"g": 122,
"b": 43
},
"hsl": {
"h": 49.895,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.57871,
"c": 0.09974,
"h": 97.7
},
"luminance": 0.19497
}Semantic roles & 50–950 ramp
primary
#8A7A2B
secondary
#5D6CB4
accent
#64DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A