#787C3A#787C3A
#787C3A is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.089 H 112.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #787C3A |
|---|---|
| RGB | rgb(120, 124, 58) |
| HSL | hsl(64, 36%, 36%) |
| HSV | hsv(64, 53%, 49%) |
| CMYK | cmyk(3.2%, 0%, 53.2%, 51.4%) |
| CIE-LAB | lab(50.35, -11.55, 35.10) |
| CIE-LCH | lch(50.35, 36.95, 108.22°) |
| OKLab | oklab(56.8% -0.0334 0.0827) |
| OKLCH | oklch(56.8% 0.089 112) |
| XYZ | xyz(15.7174, 18.7142, 6.7864) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 2.78
Drab
#828344
ΔE00 3.17
Khaki Green
#728639
ΔE00 5.16
Muddy Green
#657432
ΔE00 5.17
Dirty Green
#667E2C
ΔE00 5.61
Military Green
#667C3E
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C3A #3E3A7C
analogous
#7C5F3A #787C3A #577C3A
triadic
#787C3A #3A787C #7C3A78
tetradic
#787C3A #3A7C5F #3E3A7C #7C3A57
square
#787C3A #3A7C5F #3E3A7C #7C3A57
split-complementary
#787C3A #3A577C #5F3A7C
monochromatic
#272913 #505226 #787C3A #A0A64E #B9BD73
Accessibility & contrast
On white
4.43
#787C3A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#787C3A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C3A
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C3A | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847734
Deuteranopia (green-blind)
#85793E
Tritanopia (blue-blind)
#7F756D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787c3a; /* rgb */ color: rgb(120, 124, 58); /* oklch */ color: oklch(56.8% 0.089 112.0);
Tailwind
colors: {
custom: {
50: '#a0a172',
500: '#787c3a',
950: '#000000',
},
}SCSS
$custom: #787c3a; $custom-light: #a0a172; $custom-dark: #000000;
JSON
{
"hex": "#787c3a",
"rgb": {
"r": 120,
"g": 124,
"b": 58
},
"hsl": {
"h": 63.636,
"s": 36.264,
"l": 35.686
},
"oklch": {
"l": 0.56798,
"c": 0.08919,
"h": 112
},
"luminance": 0.18714
}Semantic roles & 50–950 ramp
primary
#787C3A
secondary
#6F6BA7
accent
#5CCC62
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0F08
muted
#7F7E7B