#8D7E1B#8D7E1B
#8D7E1B is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.114 H 100.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7E1B |
|---|---|
| RGB | rgb(141, 126, 27) |
| HSL | hsl(52, 68%, 33%) |
| HSV | hsv(52, 81%, 55%) |
| CMYK | cmyk(0%, 10.6%, 80.9%, 44.7%) |
| CIE-LAB | lab(52.58, -5.09, 51.52) |
| CIE-LCH | lch(52.58, 51.77, 95.64°) |
| OKLab | oklab(58.95% -0.0199 0.1119) |
| OKLCH | oklch(58.95% 0.114 100.1) |
| XYZ | xyz(18.6441, 20.6645, 4.0433) |
| Luminance | 0.2066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.01
Hazel
#8E7618
ΔE00 3.88
Olive
#808000
ΔE00 4.78
Puke Brown
#947706
ΔE00 4.86
Diarrhea
#9F8303
ΔE00 5.23
Poo
#8F7303
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7E1B #1B2A8D
analogous
#8D451B #8D7E1B #638D1B
triadic
#8D7E1B #1B8D7E #7E1B8D
tetradic
#8D7E1B #1B8D45 #1B2A8D #8D1B63
square
#8D7E1B #1B8D45 #1B2A8D #8D1B63
split-complementary
#8D7E1B #1B638D #451B8D
monochromatic
#262207 #5A5011 #8D7E1B #C0AC25 #DCC847
Accessibility & contrast
On white
4.09
#8D7E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#8D7E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7E1B
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7E1B | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A02
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#99746C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d7e1b; /* rgb */ color: rgb(141, 126, 27); /* oklch */ color: oklch(58.9% 0.114 100.1);
Tailwind
colors: {
custom: {
50: '#b2a361',
500: '#8d7e1b',
950: '#000000',
},
}SCSS
$custom: #8d7e1b; $custom-light: #b2a361; $custom-dark: #000000;
JSON
{
"hex": "#8d7e1b",
"rgb": {
"r": 141,
"g": 126,
"b": 27
},
"hsl": {
"h": 52.105,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.58949,
"c": 0.11362,
"h": 100.1
},
"luminance": 0.20664
}Semantic roles & 50–950 ramp
primary
#8D7E1B
secondary
#4656BD
accent
#54EB3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A