#8D7C18#8D7C18
#8D7C18 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.114 H 98.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7C18 |
|---|---|
| RGB | rgb(141, 124, 24) |
| HSL | hsl(51, 71%, 32%) |
| HSV | hsv(51, 83%, 55%) |
| CMYK | cmyk(0%, 12.1%, 83%, 44.7%) |
| CIE-LAB | lab(52.00, -4.08, 51.97) |
| CIE-LCH | lch(52.00, 52.13, 94.49°) |
| OKLab | oklab(58.49% -0.0173 0.1122) |
| OKLCH | oklch(58.49% 0.114 98.8) |
| XYZ | xyz(18.3580, 20.1449, 3.7854) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.45
Hazel
#8E7618
ΔE00 3.02
Puke Brown
#947706
ΔE00 4.05
Poo
#8F7303
ΔE00 4.50
Ugly Brown
#7D7103
ΔE00 4.95
Diarrhea
#9F8303
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7C18 #18298D
analogous
#8D4218 #8D7C18 #648D18
triadic
#8D7C18 #188D7C #7C188D
tetradic
#8D7C18 #188D42 #18298D #8D1864
square
#8D7C18 #188D42 #18298D #8D1864
split-complementary
#8D7C18 #18648D #42188D
monochromatic
#242006 #594E0F #8D7C18 #C1AA21 #DFC841
Accessibility & contrast
On white
4.18
#8D7C18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#8D7C18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7C18
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7C18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7C18 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8E7F20
Tritanopia (blue-blind)
#99726A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d7c18; /* rgb */ color: rgb(141, 124, 24); /* oklch */ color: oklch(58.5% 0.114 98.8);
Tailwind
colors: {
custom: {
50: '#b2a15f',
500: '#8d7c18',
950: '#000000',
},
}SCSS
$custom: #8d7c18; $custom-light: #b2a15f; $custom-dark: #000000;
JSON
{
"hex": "#8d7c18",
"rgb": {
"r": 141,
"g": 124,
"b": 24
},
"hsl": {
"h": 51.282,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.58485,
"c": 0.11353,
"h": 98.8
},
"luminance": 0.20144
}Semantic roles & 50–950 ramp
primary
#8D7C18
secondary
#4254BF
accent
#54EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79