#8D7F10#8D7F10
#8D7F10 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.119 H 101.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7F10 |
|---|---|
| RGB | rgb(141, 127, 16) |
| HSL | hsl(53, 80%, 31%) |
| HSV | hsv(53, 89%, 55%) |
| CMYK | cmyk(0%, 9.9%, 88.7%, 44.7%) |
| CIE-LAB | lab(52.82, -5.99, 54.84) |
| CIE-LCH | lch(52.82, 55.16, 96.23°) |
| OKLab | oklab(59.12% -0.0233 0.1169) |
| OKLCH | oklch(59.12% 0.119 101.3) |
| XYZ | xyz(18.6684, 20.8798, 3.5370) |
| Luminance | 0.2088 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.96
Olive
#808000
ΔE00 4.26
Hazel
#8E7618
ΔE00 4.55
Diarrhea
#9F8303
ΔE00 5.06
Puke Brown
#947706
ΔE00 5.21
Ugly Brown
#7D7103
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7F10 #101E8D
analogous
#8D4010 #8D7F10 #5C8D10
triadic
#8D7F10 #108D7F #7F108D
tetradic
#8D7F10 #108D40 #101E8D #8D105C
square
#8D7F10 #108D40 #101E8D #8D105C
split-complementary
#8D7F10 #105C8D #40108D
monochromatic
#1F1C04 #564D0A #8D7F10 #C4B116 #E7D330
Accessibility & contrast
On white
4.06
#8D7F10 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#8D7F10 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7F10
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7F10 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7F10 | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 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)
#90801B
Tritanopia (blue-blind)
#99756C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7f10; /* rgb */ color: rgb(141, 127, 16); /* oklch */ color: oklch(59.1% 0.119 101.3);
Tailwind
colors: {
custom: {
50: '#b2a35d',
500: '#8d7f10',
950: '#000000',
},
}SCSS
$custom: #8d7f10; $custom-light: #b2a35d; $custom-dark: #000000;
JSON
{
"hex": "#8d7f10",
"rgb": {
"r": 141,
"g": 127,
"b": 16
},
"hsl": {
"h": 53.28,
"s": 79.618,
"l": 30.784
},
"oklch": {
"l": 0.59123,
"c": 0.11917,
"h": 101.3
},
"luminance": 0.20879
}Semantic roles & 50–950 ramp
primary
#8D7F10
secondary
#3747C2
accent
#48F632
background
#FBFAF5
surface
#F6F3E9
border
#D0CDC5
text
#120F05
muted
#817F79