#8A7C1B#8A7C1B
#8A7C1B is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.112 H 100.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7C1B |
|---|---|
| RGB | rgb(138, 124, 27) |
| HSL | hsl(52, 67%, 32%) |
| HSV | hsv(52, 80%, 54%) |
| CMYK | cmyk(0%, 10.1%, 80.4%, 45.9%) |
| CIE-LAB | lab(51.72, -5.37, 50.64) |
| CIE-LCH | lch(51.72, 50.92, 96.06°) |
| OKLab | oklab(58.2% -0.0205 0.1101) |
| OKLCH | oklch(58.2% 0.112 100.6) |
| XYZ | xyz(17.8876, 19.8986, 3.9353) |
| Luminance | 0.1990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.45
Hazel
#8E7618
ΔE00 3.68
Ugly Brown
#7D7103
ΔE00 4.56
Olive
#808000
ΔE00 4.58
Puke Brown
#947706
ΔE00 4.99
Poo
#8F7303
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7C1B #1B298A
analogous
#8A441B #8A7C1B #618A1B
triadic
#8A7C1B #1B8A7C #7C1B8A
tetradic
#8A7C1B #1B8A44 #1B298A #8A1B61
square
#8A7C1B #1B8A44 #1B298A #8A1B61
split-complementary
#8A7C1B #1B618A #441B8A
monochromatic
#242007 #574E11 #8A7C1B #BDAA25 #DBC845
Accessibility & contrast
On white
4.22
#8A7C1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#8A7C1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7C1B
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7C1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7C1B | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897803
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#95726A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8a7c1b; /* rgb */ color: rgb(138, 124, 27); /* oklch */ color: oklch(58.2% 0.112 100.6);
Tailwind
colors: {
custom: {
50: '#b0a161',
500: '#8a7c1b',
950: '#000000',
},
}SCSS
$custom: #8a7c1b; $custom-light: #b0a161; $custom-dark: #000000;
JSON
{
"hex": "#8a7c1b",
"rgb": {
"r": 138,
"g": 124,
"b": 27
},
"hsl": {
"h": 52.432,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.58199,
"c": 0.11201,
"h": 100.6
},
"luminance": 0.19898
}Semantic roles & 50–950 ramp
primary
#8A7C1B
secondary
#4554BC
accent
#53EA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A