#8D7F19#8D7F19
#8D7F19 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.115 H 100.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7F19 |
|---|---|
| RGB | rgb(141, 127, 25) |
| HSL | hsl(53, 70%, 33%) |
| HSV | hsv(53, 82%, 55%) |
| CMYK | cmyk(0%, 9.9%, 82.3%, 44.7%) |
| CIE-LAB | lab(52.85, -5.72, 52.40) |
| CIE-LCH | lch(52.85, 52.71, 96.23°) |
| OKLab | oklab(59.16% -0.0218 0.1134) |
| OKLCH | oklch(59.16% 0.115 100.9) |
| XYZ | xyz(18.7503, 20.9126, 3.9684) |
| Luminance | 0.2091 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.19
Hazel
#8E7618
ΔE00 4.37
Olive
#808000
ΔE00 4.41
Puke Brown
#947706
ΔE00 5.23
Diarrhea
#9F8303
ΔE00 5.24
Ugly Brown
#7D7103
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7F19 #19278D
analogous
#8D4519 #8D7F19 #618D19
triadic
#8D7F19 #198D7F #7F198D
tetradic
#8D7F19 #198D45 #19278D #8D1961
square
#8D7F19 #198D45 #19278D #8D1961
split-complementary
#8D7F19 #19618D #45198D
monochromatic
#252107 #595010 #8D7F19 #C1AE22 #DECB43
Accessibility & contrast
On white
4.05
#8D7F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#8D7F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7F19
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7F19 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#99756C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7f19; /* rgb */ color: rgb(141, 127, 25); /* oklch */ color: oklch(59.2% 0.115 100.9);
Tailwind
colors: {
custom: {
50: '#b2a360',
500: '#8d7f19',
950: '#000000',
},
}SCSS
$custom: #8d7f19; $custom-light: #b2a360; $custom-dark: #000000;
JSON
{
"hex": "#8d7f19",
"rgb": {
"r": 141,
"g": 127,
"b": 25
},
"hsl": {
"h": 52.759,
"s": 69.88,
"l": 32.549
},
"oklch": {
"l": 0.59163,
"c": 0.11544,
"h": 100.9
},
"luminance": 0.20912
}Semantic roles & 50–950 ramp
primary
#8D7F19
secondary
#4352BF
accent
#51ED3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79