#8D7F1B#8D7F1B
#8D7F1B is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.114 H 100.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8D7F1B |
|---|---|
| RGB | rgb(141, 127, 27) |
| HSL | hsl(53, 68%, 33%) |
| HSV | hsv(53, 81%, 55%) |
| CMYK | cmyk(0%, 9.9%, 80.9%, 44.7%) |
| CIE-LAB | lab(52.86, -5.64, 51.77) |
| CIE-LCH | lch(52.86, 52.08, 96.22°) |
| OKLab | oklab(59.17% -0.0215 0.1124) |
| OKLCH | oklch(59.17% 0.114 100.8) |
| XYZ | xyz(18.7726, 20.9215, 4.0861) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.27
Hazel
#8E7618
ΔE00 4.33
Olive
#808000
ΔE00 4.48
Puke Brown
#947706
ΔE00 5.25
Diarrhea
#9F8303
ΔE00 5.30
Ugly Brown
#7D7103
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D7F1B #1B298D
analogous
#8D461B #8D7F1B #628D1B
triadic
#8D7F1B #1B8D7F #7F1B8D
tetradic
#8D7F1B #1B8D46 #1B298D #8D1B62
square
#8D7F1B #1B8D46 #1B298D #8D1B62
split-complementary
#8D7F1B #1B628D #461B8D
monochromatic
#262207 #5A5111 #8D7F1B #C0AD25 #DCC947
Accessibility & contrast
On white
4.05
#8D7F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#8D7F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D7F1B
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D7F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D7F1B | 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)
#8C7B01
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#98756C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d7f1b; /* rgb */ color: rgb(141, 127, 27); /* oklch */ color: oklch(59.2% 0.114 100.8);
Tailwind
colors: {
custom: {
50: '#b2a361',
500: '#8d7f1b',
950: '#000000',
},
}SCSS
$custom: #8d7f1b; $custom-light: #b2a361; $custom-dark: #000000;
JSON
{
"hex": "#8d7f1b",
"rgb": {
"r": 141,
"g": 127,
"b": 27
},
"hsl": {
"h": 52.632,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.59174,
"c": 0.11443,
"h": 100.8
},
"luminance": 0.20921
}Semantic roles & 50–950 ramp
primary
#8D7F1B
secondary
#4655BD
accent
#52EB3D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A