#8A783B#8A783B
#8A783B is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.084 H 93.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8A783B |
|---|---|
| RGB | rgb(138, 120, 59) |
| HSL | hsl(46, 40%, 39%) |
| HSV | hsv(46, 57%, 54%) |
| CMYK | cmyk(0%, 13%, 57.2%, 45.9%) |
| CIE-LAB | lab(50.87, -1.15, 35.60) |
| CIE-LCH | lch(50.87, 35.62, 91.84°) |
| OKLab | oklab(57.61% -0.0046 0.0835) |
| OKLCH | oklch(57.61% 0.084 93.2) |
| XYZ | xyz(17.9878, 19.1528, 6.8862) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 5.19
Poo
#8F7303
ΔE00 6.78
Puke Brown
#947706
ΔE00 6.93
Drab
#828344
ΔE00 7.13
Ugly Brown
#7D7103
ΔE00 7.26
Dirt
#8A6E45
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A783B #3B4D8A
analogous
#8A503B #8A783B #748A3B
triadic
#8A783B #3B8A78 #783B8A
tetradic
#8A783B #3B8A50 #3B4D8A #8A3B74
square
#8A783B #3B8A50 #3B4D8A #8A3B74
split-complementary
#8A783B #3B748A #503B8A
monochromatic
#342D16 #5F5329 #8A783B #B49D4F #C6B579
Accessibility & contrast
On white
4.35
#8A783B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#8A783B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A783B
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A783B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A783B | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837635
Deuteranopia (green-blind)
#887B3E
Tritanopia (blue-blind)
#94706A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #8a783b; /* rgb */ color: rgb(138, 120, 59); /* oklch */ color: oklch(57.6% 0.084 93.2);
Tailwind
colors: {
custom: {
50: '#ae9e73',
500: '#8a783b',
950: '#000000',
},
}SCSS
$custom: #8a783b; $custom-light: #ae9e73; $custom-dark: #000000;
JSON
{
"hex": "#8a783b",
"rgb": {
"r": 138,
"g": 120,
"b": 59
},
"hsl": {
"h": 46.329,
"s": 40.102,
"l": 38.627
},
"oklch": {
"l": 0.57608,
"c": 0.08366,
"h": 93.2
},
"luminance": 0.19152
}Semantic roles & 50–950 ramp
primary
#8A783B
secondary
#717FAF
accent
#73D058
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B