#8E7D1C#8E7D1C
#8E7D1C is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.112 H 98.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7D1C |
|---|---|
| RGB | rgb(142, 125, 28) |
| HSL | hsl(51, 67%, 33%) |
| HSV | hsv(51, 80%, 56%) |
| CMYK | cmyk(0%, 12%, 80.3%, 44.3%) |
| CIE-LAB | lab(52.40, -4.03, 51.06) |
| CIE-LCH | lch(52.40, 51.21, 94.51°) |
| OKLab | oklab(58.83% -0.0169 0.111) |
| OKLCH | oklch(58.83% 0.112 98.6) |
| XYZ | xyz(18.6995, 20.5028, 4.0709) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.60
Hazel
#8E7618
ΔE00 3.22
Puke Brown
#947706
ΔE00 4.21
Poo
#8F7303
ΔE00 4.77
Diarrhea
#9F8303
ΔE00 4.97
Yellowish Brown
#9B7A01
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7D1C #1C2D8E
analogous
#8E441C #8E7D1C #668E1C
triadic
#8E7D1C #1C8E7D #7D1C8E
tetradic
#8E7D1C #1C8E44 #1C2D8E #8E1C66
square
#8E7D1C #1C8E44 #1C2D8E #8E1C66
split-complementary
#8E7D1C #1C668E #441C8E
monochromatic
#282308 #5B5012 #8E7D1C #C1AA26 #DBC549
Accessibility & contrast
On white
4.12
#8E7D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8E7D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7D1C
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7D1C | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A04
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#9A736B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8e7d1c; /* rgb */ color: rgb(142, 125, 28); /* oklch */ color: oklch(58.8% 0.112 98.6);
Tailwind
colors: {
custom: {
50: '#b3a261',
500: '#8e7d1c',
950: '#000000',
},
}SCSS
$custom: #8e7d1c; $custom-light: #b3a261; $custom-dark: #000000;
JSON
{
"hex": "#8e7d1c",
"rgb": {
"r": 142,
"g": 125,
"b": 28
},
"hsl": {
"h": 51.053,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.58832,
"c": 0.1123,
"h": 98.6
},
"luminance": 0.20502
}Semantic roles & 50–950 ramp
primary
#8E7D1C
secondary
#495ABD
accent
#58EA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A