#8A7A1B#8A7A1B
#8A7A1B is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.110 H 99.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7A1B |
|---|---|
| RGB | rgb(138, 122, 27) |
| HSL | hsl(51, 67%, 32%) |
| HSV | hsv(51, 80%, 54%) |
| CMYK | cmyk(0%, 11.6%, 80.4%, 45.9%) |
| CIE-LAB | lab(51.15, -4.26, 50.12) |
| CIE-LCH | lch(51.15, 50.31, 94.86°) |
| OKLab | oklab(57.75% -0.0174 0.109) |
| OKLCH | oklch(57.75% 0.11 99.1) |
| XYZ | xyz(17.6395, 19.4024, 3.8526) |
| Luminance | 0.1940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.82
Baby Poop
#937C00
ΔE00 3.24
Ugly Brown
#7D7103
ΔE00 4.14
Puke Brown
#947706
ΔE00 4.34
Poo
#8F7303
ΔE00 4.43
Olive
#808000
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7A1B #1B2B8A
analogous
#8A421B #8A7A1B #638A1B
triadic
#8A7A1B #1B8A7A #7A1B8A
tetradic
#8A7A1B #1B8A42 #1B2B8A #8A1B63
square
#8A7A1B #1B8A42 #1B2B8A #8A1B63
split-complementary
#8A7A1B #1B638A #421B8A
monochromatic
#241F07 #574D11 #8A7A1B #BDA725 #DBC545
Accessibility & contrast
On white
4.30
#8A7A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#8A7A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7A1B
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7A1B | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#957068
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8a7a1b; /* rgb */ color: rgb(138, 122, 27); /* oklch */ color: oklch(57.7% 0.110 99.1);
Tailwind
colors: {
custom: {
50: '#b0a060',
500: '#8a7a1b',
950: '#000000',
},
}SCSS
$custom: #8a7a1b; $custom-light: #b0a060; $custom-dark: #000000;
JSON
{
"hex": "#8a7a1b",
"rgb": {
"r": 138,
"g": 122,
"b": 27
},
"hsl": {
"h": 51.351,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.57749,
"c": 0.1104,
"h": 99.1
},
"luminance": 0.19401
}Semantic roles & 50–950 ramp
primary
#8A7A1B
secondary
#4556BC
accent
#57EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79