#8D7F1E#8D7F1E
#8D7F1E is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.113 H 100.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7F1E |
|---|---|
| RGB | rgb(141, 127, 30) |
| HSL | hsl(52, 65%, 34%) |
| HSV | hsv(52, 79%, 55%) |
| CMYK | cmyk(0%, 9.9%, 78.7%, 44.7%) |
| CIE-LAB | lab(52.88, -5.52, 50.76) |
| CIE-LCH | lch(52.88, 51.06, 96.21°) |
| OKLab | oklab(59.19% -0.0208 0.1109) |
| OKLCH | oklch(59.19% 0.113 100.7) |
| XYZ | xyz(18.8091, 20.9361, 4.2784) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.42
Hazel
#8E7618
ΔE00 4.30
Olive
#808000
ΔE00 4.59
Puke Brown
#947706
ΔE00 5.30
Diarrhea
#9F8303
ΔE00 5.41
Ugly Brown
#7D7103
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7F1E #1E2C8D
analogous
#8D471E #8D7F1E #638D1E
triadic
#8D7F1E #1E8D7F #7F1E8D
tetradic
#8D7F1E #1E8D47 #1E2C8D #8D1E63
square
#8D7F1E #1E8D47 #1E2C8D #8D1E63
split-complementary
#8D7F1E #1E638D #471E8D
monochromatic
#282409 #5B5213 #8D7F1E #BFAC29 #D9C74C
Accessibility & contrast
On white
4.05
#8D7F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#8D7F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7F1E
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7F1E | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#98756D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7f1e; /* rgb */ color: rgb(141, 127, 30); /* oklch */ color: oklch(59.2% 0.113 100.7);
Tailwind
colors: {
custom: {
50: '#b2a362',
500: '#8d7f1e',
950: '#000000',
},
}SCSS
$custom: #8d7f1e; $custom-light: #b2a362; $custom-dark: #000000;
JSON
{
"hex": "#8d7f1e",
"rgb": {
"r": 141,
"g": 127,
"b": 30
},
"hsl": {
"h": 52.432,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.59192,
"c": 0.11281,
"h": 100.7
},
"luminance": 0.20935
}Semantic roles & 50–950 ramp
primary
#8D7F1E
secondary
#4B59BC
accent
#55E840
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A