#8D7C28#8D7C28
#8D7C28 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.104 H 97.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7C28 |
|---|---|
| RGB | rgb(141, 124, 40) |
| HSL | hsl(50, 56%, 35%) |
| HSV | hsv(50, 72%, 55%) |
| CMYK | cmyk(0%, 12.1%, 71.6%, 44.7%) |
| CIE-LAB | lab(52.10, -3.37, 46.11) |
| CIE-LCH | lch(52.10, 46.23, 94.18°) |
| OKLab | oklab(58.59% -0.0136 0.103) |
| OKLCH | oklch(58.59% 0.104 97.5) |
| XYZ | xyz(18.5760, 20.2321, 4.9338) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.13
Baby Poop
#937C00
ΔE00 3.83
Puke Brown
#947706
ΔE00 4.64
Poo
#8F7303
ΔE00 4.99
Ugly Brown
#7D7103
ΔE00 5.48
Yellowish Brown
#9B7A01
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7C28 #28398D
analogous
#8D4928 #8D7C28 #6B8D28
triadic
#8D7C28 #288D7C #7C288D
tetradic
#8D7C28 #288D49 #28398D #8D286B
square
#8D7C28 #288D49 #28398D #8D286B
split-complementary
#8D7C28 #286B8D #49288D
monochromatic
#2E280D #5D521A #8D7C28 #BDA636 #D1BE5E
Accessibility & contrast
On white
4.16
#8D7C28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#8D7C28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7C28
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7C28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7C28 | 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)
#89791C
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#98736B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d7c28; /* rgb */ color: rgb(141, 124, 40); /* oklch */ color: oklch(58.6% 0.104 97.5);
Tailwind
colors: {
custom: {
50: '#b2a167',
500: '#8d7c28',
950: '#000000',
},
}SCSS
$custom: #8d7c28; $custom-light: #b2a167; $custom-dark: #000000;
JSON
{
"hex": "#8d7c28",
"rgb": {
"r": 141,
"g": 124,
"b": 40
},
"hsl": {
"h": 49.901,
"s": 55.801,
"l": 35.49
},
"oklch": {
"l": 0.58594,
"c": 0.10389,
"h": 97.5
},
"luminance": 0.20231
}Semantic roles & 50–950 ramp
primary
#8D7C28
secondary
#5A6AB7
accent
#62DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A