#8D7D1B#8D7D1B
#8D7D1B is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.113 H 99.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7D1B |
|---|---|
| RGB | rgb(141, 125, 27) |
| HSL | hsl(52, 68%, 33%) |
| HSV | hsv(52, 81%, 55%) |
| CMYK | cmyk(0%, 11.3%, 80.9%, 44.7%) |
| CIE-LAB | lab(52.30, -4.53, 51.26) |
| CIE-LCH | lch(52.30, 51.46, 95.05°) |
| OKLab | oklab(58.73% -0.0183 0.1113) |
| OKLCH | oklch(58.73% 0.113 99.4) |
| XYZ | xyz(18.5169, 20.4100, 4.0009) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.79
Hazel
#8E7618
ΔE00 3.43
Puke Brown
#947706
ΔE00 4.47
Poo
#8F7303
ΔE00 4.96
Olive
#808000
ΔE00 5.11
Ugly Brown
#7D7103
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7D1B #1B2B8D
analogous
#8D441B #8D7D1B #648D1B
triadic
#8D7D1B #1B8D7D #7D1B8D
tetradic
#8D7D1B #1B8D44 #1B2B8D #8D1B64
square
#8D7D1B #1B8D44 #1B2B8D #8D1B64
split-complementary
#8D7D1B #1B648D #441B8D
monochromatic
#262207 #5A4F11 #8D7D1B #C0AB25 #DCC747
Accessibility & contrast
On white
4.13
#8D7D1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#8D7D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7D1B
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7D1B | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7902
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#99736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7d1b; /* rgb */ color: rgb(141, 125, 27); /* oklch */ color: oklch(58.7% 0.113 99.4);
Tailwind
colors: {
custom: {
50: '#b2a261',
500: '#8d7d1b',
950: '#000000',
},
}SCSS
$custom: #8d7d1b; $custom-light: #b2a261; $custom-dark: #000000;
JSON
{
"hex": "#8d7d1b",
"rgb": {
"r": 141,
"g": 125,
"b": 27
},
"hsl": {
"h": 51.579,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.58725,
"c": 0.11281,
"h": 99.4
},
"luminance": 0.20409
}Semantic roles & 50–950 ramp
primary
#8D7D1B
secondary
#4657BD
accent
#55EB3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A