#8A782B#8A782B
#8A782B is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.4% C 0.098 H 95.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A782B |
|---|---|
| RGB | rgb(138, 120, 43) |
| HSL | hsl(49, 52%, 35%) |
| HSV | hsv(49, 69%, 54%) |
| CMYK | cmyk(0%, 13%, 68.8%, 45.9%) |
| CIE-LAB | lab(50.70, -2.33, 43.26) |
| CIE-LCH | lch(50.70, 43.32, 93.08°) |
| OKLab | oklab(57.43% -0.0101 0.0976) |
| OKLCH | oklch(57.43% 0.098 95.9) |
| XYZ | xyz(17.6346, 19.0115, 5.0258) |
| Luminance | 0.1901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.85
Poo
#8F7303
ΔE00 4.67
Puke Brown
#947706
ΔE00 4.83
Baby Poop
#937C00
ΔE00 4.89
Ugly Brown
#7D7103
ΔE00 5.00
Yellowish Brown
#9B7A01
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A782B #2B3D8A
analogous
#8A492B #8A782B #6C8A2B
triadic
#8A782B #2B8A78 #782B8A
tetradic
#8A782B #2B8A49 #2B3D8A #8A2B6C
square
#8A782B #2B8A49 #2B3D8A #8A2B6C
split-complementary
#8A782B #2B6C8A #492B8A
monochromatic
#2D270E #5B4F1C #8A782B #B9A13A #CEB961
Accessibility & contrast
On white
4.37
#8A782B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#8A782B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A782B
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A782B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A782B | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847521
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#956F68
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a782b; /* rgb */ color: rgb(138, 120, 43); /* oklch */ color: oklch(57.4% 0.098 95.9);
Tailwind
colors: {
custom: {
50: '#af9e69',
500: '#8a782b',
950: '#000000',
},
}SCSS
$custom: #8a782b; $custom-light: #af9e69; $custom-dark: #000000;
JSON
{
"hex": "#8a782b",
"rgb": {
"r": 138,
"g": 120,
"b": 43
},
"hsl": {
"h": 48.632,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.57425,
"c": 0.09813,
"h": 95.9
},
"luminance": 0.19011
}Semantic roles & 50–950 ramp
primary
#8A782B
secondary
#5D6DB4
accent
#67DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A