#8A782F#8A782F
#8A782F is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.095 H 95.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A782F |
|---|---|
| RGB | rgb(138, 120, 47) |
| HSL | hsl(48, 49%, 36%) |
| HSV | hsv(48, 66%, 54%) |
| CMYK | cmyk(0%, 13%, 65.9%, 45.9%) |
| CIE-LAB | lab(50.74, -2.07, 41.44) |
| CIE-LCH | lch(50.74, 41.49, 92.86°) |
| OKLab | oklab(57.47% -0.0089 0.0944) |
| OKLCH | oklch(57.47% 0.095 95.4) |
| XYZ | xyz(17.7116, 19.0423, 5.4314) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.32
Poo
#8F7303
ΔE00 5.10
Puke Brown
#947706
ΔE00 5.25
Baby Poop
#937C00
ΔE00 5.44
Ugly Brown
#7D7103
ΔE00 5.46
Yellowish Brown
#9B7A01
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A782F #2F418A
analogous
#8A4B2F #8A782F #6F8A2F
triadic
#8A782F #2F8A78 #782F8A
tetradic
#8A782F #2F8A4B #2F418A #8A2F6F
square
#8A782F #2F8A4B #2F418A #8A2F6F
split-complementary
#8A782F #2F6F8A #4B2F8A
monochromatic
#2F2910 #5C501F #8A782F #B8A03F #CCB868
Accessibility & contrast
On white
4.37
#8A782F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#8A782F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A782F
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A782F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A782F | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847627
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#956F68
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a782f; /* rgb */ color: rgb(138, 120, 47); /* oklch */ color: oklch(57.5% 0.095 95.4);
Tailwind
colors: {
custom: {
50: '#af9e6b',
500: '#8a782f',
950: '#000000',
},
}SCSS
$custom: #8a782f; $custom-light: #af9e6b; $custom-dark: #000000;
JSON
{
"hex": "#8a782f",
"rgb": {
"r": 138,
"g": 120,
"b": 47
},
"hsl": {
"h": 48.132,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.57465,
"c": 0.09484,
"h": 95.4
},
"luminance": 0.19041
}Semantic roles & 50–950 ramp
primary
#8A782F
secondary
#6272B3
accent
#6AD94F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A