#8D791E#8D791E
#8D791E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.9% C 0.108 H 96.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8D791E |
|---|---|
| RGB | rgb(141, 121, 30) |
| HSL | hsl(49, 65%, 34%) |
| HSV | hsv(49, 79%, 55%) |
| CMYK | cmyk(0%, 14.2%, 78.7%, 44.7%) |
| CIE-LAB | lab(51.19, -2.17, 49.20) |
| CIE-LCH | lch(51.19, 49.25, 92.53°) |
| OKLab | oklab(57.85% -0.0114 0.1075) |
| OKLCH | oklch(57.85% 0.108 96) |
| XYZ | xyz(18.0572, 19.4322, 4.0277) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.60
Baby Poop
#937C00
ΔE00 2.92
Puke Brown
#947706
ΔE00 3.24
Poo
#8F7303
ΔE00 3.40
Yellowish Brown
#9B7A01
ΔE00 4.69
Ugly Brown
#7D7103
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D791E #1E328D
analogous
#8D411E #8D791E #698D1E
triadic
#8D791E #1E8D79 #791E8D
tetradic
#8D791E #1E8D41 #1E328D #8D1E69
square
#8D791E #1E8D41 #1E328D #8D1E69
split-complementary
#8D791E #1E698D #411E8D
monochromatic
#282209 #5B4E13 #8D791E #BFA429 #D9C04C
Accessibility & contrast
On white
4.30
#8D791E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#8D791E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D791E
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D791E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D791E | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#996F68
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8d791e; /* rgb */ color: rgb(141, 121, 30); /* oklch */ color: oklch(57.9% 0.108 96.0);
Tailwind
colors: {
custom: {
50: '#b29f62',
500: '#8d791e',
950: '#000000',
},
}SCSS
$custom: #8d791e; $custom-light: #b29f62; $custom-dark: #000000;
JSON
{
"hex": "#8d791e",
"rgb": {
"r": 141,
"g": 121,
"b": 30
},
"hsl": {
"h": 49.189,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.57852,
"c": 0.10814,
"h": 96
},
"luminance": 0.19431
}Semantic roles & 50–950 ramp
primary
#8D791E
secondary
#4B5FBC
accent
#5EE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A