#8D792F#8D792F
#8D792F is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 58.0% C 0.096 H 94.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8D792F |
|---|---|
| RGB | rgb(141, 121, 47) |
| HSL | hsl(47, 50%, 37%) |
| HSV | hsv(47, 67%, 55%) |
| CMYK | cmyk(0%, 14.2%, 66.7%, 44.7%) |
| CIE-LAB | lab(51.32, -1.25, 42.15) |
| CIE-LCH | lch(51.32, 42.17, 91.70°) |
| OKLab | oklab(57.99% -0.0067 0.0959) |
| OKLCH | oklch(57.99% 0.096 94) |
| XYZ | xyz(18.3358, 19.5437, 5.4953) |
| Luminance | 0.1954 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.99
Puke Brown
#947706
ΔE00 4.72
Poo
#8F7303
ΔE00 4.78
Baby Poop
#937C00
ΔE00 5.01
Yellowish Brown
#9B7A01
ΔE00 5.92
Ugly Brown
#7D7103
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D792F #2F438D
analogous
#8D4A2F #8D792F #728D2F
triadic
#8D792F #2F8D79 #792F8D
tetradic
#8D792F #2F8D4A #2F438D #8D2F72
square
#8D792F #2F8D4A #2F438D #8D2F72
split-complementary
#8D792F #2F728D #4A2F8D
monochromatic
#312A10 #5F5220 #8D792F #BBA03E #CDB869
Accessibility & contrast
On white
4.28
#8D792F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#8D792F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D792F
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D792F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D792F | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857726
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#987069
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8d792f; /* rgb */ color: rgb(141, 121, 47); /* oklch */ color: oklch(58.0% 0.096 94.0);
Tailwind
colors: {
custom: {
50: '#b19f6b',
500: '#8d792f',
950: '#000000',
},
}SCSS
$custom: #8d792f; $custom-light: #b19f6b; $custom-dark: #000000;
JSON
{
"hex": "#8d792f",
"rgb": {
"r": 141,
"g": 121,
"b": 47
},
"hsl": {
"h": 47.234,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.57994,
"c": 0.09609,
"h": 94
},
"luminance": 0.19543
}Semantic roles & 50–950 ramp
primary
#8D792F
secondary
#6475B4
accent
#6CDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A