#8D771F#8D771F
#8D771F is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.4% C 0.106 H 94.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8D771F |
|---|---|
| RGB | rgb(141, 119, 31) |
| HSL | hsl(48, 64%, 34%) |
| HSV | hsv(48, 78%, 55%) |
| CMYK | cmyk(0%, 15.6%, 78%, 44.7%) |
| CIE-LAB | lab(50.64, -1.00, 48.32) |
| CIE-LCH | lch(50.64, 48.33, 91.19°) |
| OKLab | oklab(57.42% -0.0079 0.1059) |
| OKLCH | oklch(57.42% 0.106 94.3) |
| XYZ | xyz(17.8296, 18.9563, 4.0159) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 0.92
Poo
#8F7303
ΔE00 2.81
Puke Brown
#947706
ΔE00 2.93
Baby Poop
#937C00
ΔE00 3.44
Yellowish Brown
#9B7A01
ΔE00 4.53
Ugly Brown
#7D7103
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D771F #1F358D
analogous
#8D401F #8D771F #6C8D1F
triadic
#8D771F #1F8D77 #771F8D
tetradic
#8D771F #1F8D40 #1F358D #8D1F6C
square
#8D771F #1F8D40 #1F358D #8D1F6C
split-complementary
#8D771F #1F6C8D #401F8D
monochromatic
#292209 #5B4D14 #8D771F #BFA12A #D8BD4E
Accessibility & contrast
On white
4.38
#8D771F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#8D771F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D771F
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D771F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D771F | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#996D66
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8d771f; /* rgb */ color: rgb(141, 119, 31); /* oklch */ color: oklch(57.4% 0.106 94.3);
Tailwind
colors: {
custom: {
50: '#b29d62',
500: '#8d771f',
950: '#000000',
},
}SCSS
$custom: #8d771f; $custom-light: #b29d62; $custom-dark: #000000;
JSON
{
"hex": "#8d771f",
"rgb": {
"r": 141,
"g": 119,
"b": 31
},
"hsl": {
"h": 48,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.57416,
"c": 0.10616,
"h": 94.3
},
"luminance": 0.18955
}Semantic roles & 50–950 ramp
primary
#8D771F
secondary
#4D63BB
accent
#62E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A