#8A7B1B#8A7B1B
#8A7B1B is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.111 H 99.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7B1B |
|---|---|
| RGB | rgb(138, 123, 27) |
| HSL | hsl(52, 67%, 32%) |
| HSV | hsv(52, 80%, 54%) |
| CMYK | cmyk(0%, 10.9%, 80.4%, 45.9%) |
| CIE-LAB | lab(51.44, -4.82, 50.38) |
| CIE-LCH | lch(51.44, 50.61, 95.46°) |
| OKLab | oklab(57.97% -0.019 0.1096) |
| OKLCH | oklch(57.97% 0.111 99.8) |
| XYZ | xyz(17.7629, 19.6492, 3.8937) |
| Luminance | 0.1965 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.25
Baby Poop
#937C00
ΔE00 3.31
Ugly Brown
#7D7103
ΔE00 4.33
Puke Brown
#947706
ΔE00 4.65
Poo
#8F7303
ΔE00 4.83
Olive
#808000
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7B1B #1B2A8A
analogous
#8A441B #8A7B1B #628A1B
triadic
#8A7B1B #1B8A7B #7B1B8A
tetradic
#8A7B1B #1B8A44 #1B2A8A #8A1B62
square
#8A7B1B #1B8A44 #1B2A8A #8A1B62
split-complementary
#8A7B1B #1B628A #441B8A
monochromatic
#242007 #574D11 #8A7B1B #BDA925 #DBC645
Accessibility & contrast
On white
4.26
#8A7B1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#8A7B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7B1B
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7B1B | 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)
#887703
Deuteranopia (green-blind)
#8C7D22
Tritanopia (blue-blind)
#957169
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8a7b1b; /* rgb */ color: rgb(138, 123, 27); /* oklch */ color: oklch(58.0% 0.111 99.8);
Tailwind
colors: {
custom: {
50: '#b0a060',
500: '#8a7b1b',
950: '#000000',
},
}SCSS
$custom: #8a7b1b; $custom-light: #b0a060; $custom-dark: #000000;
JSON
{
"hex": "#8a7b1b",
"rgb": {
"r": 138,
"g": 123,
"b": 27
},
"hsl": {
"h": 51.892,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.57974,
"c": 0.1112,
"h": 99.8
},
"luminance": 0.19648
}Semantic roles & 50–950 ramp
primary
#8A7B1B
secondary
#4555BC
accent
#55EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79