#786A2B#786A2B
#786A2B is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.4% C 0.084 H 96.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #786A2B |
|---|---|
| RGB | rgb(120, 106, 43) |
| HSL | hsl(49, 47%, 32%) |
| HSV | hsv(49, 64%, 47%) |
| CMYK | cmyk(0%, 11.7%, 64.2%, 52.9%) |
| CIE-LAB | lab(44.91, -2.72, 36.50) |
| CIE-LCH | lch(44.91, 36.60, 94.26°) |
| OKLab | oklab(52.42% -0.01 0.0838) |
| OKLCH | oklch(52.42% 0.084 96.8) |
| XYZ | xyz(13.3364, 14.4762, 4.3767) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 4.98
Brown Green
#706C11
ΔE00 5.10
Greeny Brown
#696006
ΔE00 5.63
Browny Green
#6F6C0A
ΔE00 5.69
Mud
#735C12
ΔE00 5.85
Ugly Brown
#7D7103
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786A2B #2B3978
analogous
#78442B #786A2B #60782B
triadic
#786A2B #2B786A #6A2B78
tetradic
#786A2B #2B7844 #2B3978 #782B60
square
#786A2B #2B7844 #2B3978 #782B60
split-complementary
#786A2B #2B6078 #442B78
monochromatic
#1E1A0B #4B421B #786A2B #A5923B #C4B05A
Accessibility & contrast
On white
5.39
#786A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#786A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786A2B
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786A2B | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746824
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#81625C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #786a2b; /* rgb */ color: rgb(120, 106, 43); /* oklch */ color: oklch(52.4% 0.084 96.8);
Tailwind
colors: {
custom: {
50: '#a19467',
500: '#786a2b',
950: '#000000',
},
}SCSS
$custom: #786a2b; $custom-light: #a19467; $custom-dark: #000000;
JSON
{
"hex": "#786a2b",
"rgb": {
"r": 120,
"g": 106,
"b": 43
},
"hsl": {
"h": 49.091,
"s": 47.239,
"l": 31.961
},
"oklch": {
"l": 0.52416,
"c": 0.08443,
"h": 96.8
},
"luminance": 0.14476
}Semantic roles & 50–950 ramp
primary
#786A2B
secondary
#5565AA
accent
#69D751
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A