#8D782F#8D782F
#8D782F is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.095 H 93.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8D782F |
|---|---|
| RGB | rgb(141, 120, 47) |
| HSL | hsl(47, 50%, 37%) |
| HSV | hsv(47, 67%, 55%) |
| CMYK | cmyk(0%, 14.9%, 66.7%, 44.7%) |
| CIE-LAB | lab(51.04, -0.69, 41.85) |
| CIE-LCH | lch(51.04, 41.86, 90.94°) |
| OKLab | oklab(57.77% -0.0051 0.0952) |
| OKLCH | oklch(57.77% 0.095 93.1) |
| XYZ | xyz(18.2149, 19.3019, 5.4550) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.94
Poo
#8F7303
ΔE00 4.62
Puke Brown
#947706
ΔE00 4.66
Baby Poop
#937C00
ΔE00 5.21
Yellowish Brown
#9B7A01
ΔE00 5.89
Ugly Brown
#7D7103
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D782F #2F448D
analogous
#8D492F #8D782F #738D2F
triadic
#8D782F #2F8D78 #782F8D
tetradic
#8D782F #2F8D49 #2F448D #8D2F73
square
#8D782F #2F8D49 #2F448D #8D2F73
split-complementary
#8D782F #2F738D #492F8D
monochromatic
#312A10 #5F5120 #8D782F #BB9F3E #CDB769
Accessibility & contrast
On white
4.32
#8D782F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#8D782F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D782F
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D782F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D782F | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847627
Deuteranopia (green-blind)
#8A7C32
Tritanopia (blue-blind)
#986F68
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #8d782f; /* rgb */ color: rgb(141, 120, 47); /* oklch */ color: oklch(57.8% 0.095 93.1);
Tailwind
colors: {
custom: {
50: '#b19e6b',
500: '#8d782f',
950: '#000000',
},
}SCSS
$custom: #8d782f; $custom-light: #b19e6b; $custom-dark: #000000;
JSON
{
"hex": "#8d782f",
"rgb": {
"r": 141,
"g": 120,
"b": 47
},
"hsl": {
"h": 46.596,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.57774,
"c": 0.09535,
"h": 93.1
},
"luminance": 0.19301
}Semantic roles & 50–950 ramp
primary
#8D782F
secondary
#6476B4
accent
#6DDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A