#8D7C2D#8D7C2D
#8D7C2D is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.100 H 97.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7C2D |
|---|---|
| RGB | rgb(141, 124, 45) |
| HSL | hsl(49, 52%, 36%) |
| HSV | hsv(49, 68%, 55%) |
| CMYK | cmyk(0%, 12.1%, 68.1%, 44.7%) |
| CIE-LAB | lab(52.14, -3.07, 43.95) |
| CIE-LCH | lch(52.14, 44.06, 94.00°) |
| OKLab | oklab(58.64% -0.0122 0.0993) |
| OKLCH | oklch(58.64% 0.1 97) |
| XYZ | xyz(18.6667, 20.2684, 5.4111) |
| Luminance | 0.2027 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.44
Baby Poop
#937C00
ΔE00 4.45
Puke Brown
#947706
ΔE00 5.02
Poo
#8F7303
ΔE00 5.33
Ugly Brown
#7D7103
ΔE00 5.84
Yellowish Brown
#9B7A01
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7C2D #2D3E8D
analogous
#8D4C2D #8D7C2D #6E8D2D
triadic
#8D7C2D #2D8D7C #7C2D8D
tetradic
#8D7C2D #2D8D4C #2D3E8D #8D2D6E
square
#8D7C2D #2D8D4C #2D3E8D #8D2D6E
split-complementary
#8D7C2D #2D6E8D #4C2D8D
monochromatic
#302A0F #5F531E #8D7C2D #BBA53C #CEBC66
Accessibility & contrast
On white
4.16
#8D7C2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#8D7C2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7C2D
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7C2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7C2D | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887923
Deuteranopia (green-blind)
#8D7F31
Tritanopia (blue-blind)
#98736C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d7c2d; /* rgb */ color: rgb(141, 124, 45); /* oklch */ color: oklch(58.6% 0.100 97.0);
Tailwind
colors: {
custom: {
50: '#b1a16a',
500: '#8d7c2d',
950: '#000000',
},
}SCSS
$custom: #8d7c2d; $custom-light: #b1a16a; $custom-dark: #000000;
JSON
{
"hex": "#8d7c2d",
"rgb": {
"r": 141,
"g": 124,
"b": 45
},
"hsl": {
"h": 49.375,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.58639,
"c": 0.10006,
"h": 97
},
"luminance": 0.20267
}Semantic roles & 50–950 ramp
primary
#8D7C2D
secondary
#6170B5
accent
#66DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A