#786C2F#786C2F
#786C2F is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.9% C 0.082 H 98.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #786C2F |
|---|---|
| RGB | rgb(120, 108, 47) |
| HSL | hsl(50, 44%, 33%) |
| HSV | hsv(50, 61%, 47%) |
| CMYK | cmyk(0%, 10%, 60.8%, 52.9%) |
| CIE-LAB | lab(45.53, -3.56, 35.18) |
| CIE-LCH | lch(45.53, 35.36, 95.77°) |
| OKLab | oklab(52.92% -0.0119 0.0816) |
| OKLCH | oklch(52.92% 0.082 98.3) |
| XYZ | xyz(13.6219, 14.9240, 4.8519) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 5.06
Greenish Brown
#696112
ΔE00 5.45
Browny Green
#6F6C0A
ΔE00 5.67
Ugly Brown
#7D7103
ΔE00 6.09
Greeny Brown
#696006
ΔE00 6.21
Mud
#735C12
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786C2F #2F3B78
analogous
#78472F #786C2F #5F782F
triadic
#786C2F #2F786C #6C2F78
tetradic
#786C2F #2F7847 #2F3B78 #782F5F
square
#786C2F #2F7847 #2F3B78 #782F5F
split-complementary
#786C2F #2F5F78 #472F78
monochromatic
#201D0D #4C441E #786C2F #A49440 #C1B160
Accessibility & contrast
On white
5.27
#786C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#786C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786C2F
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786C2F | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766929
Deuteranopia (green-blind)
#796E32
Tritanopia (blue-blind)
#81655F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #786c2f; /* rgb */ color: rgb(120, 108, 47); /* oklch */ color: oklch(52.9% 0.082 98.3);
Tailwind
colors: {
custom: {
50: '#a1956a',
500: '#786c2f',
950: '#000000',
},
}SCSS
$custom: #786c2f; $custom-light: #a1956a; $custom-dark: #000000;
JSON
{
"hex": "#786c2f",
"rgb": {
"r": 120,
"g": 108,
"b": 47
},
"hsl": {
"h": 50.137,
"s": 43.713,
"l": 32.745
},
"oklch": {
"l": 0.52923,
"c": 0.08243,
"h": 98.3
},
"luminance": 0.14923
}Semantic roles & 50–950 ramp
primary
#786C2F
secondary
#5B68A8
accent
#69D354
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A