#787C49#787C49
#787C49 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.072 H 112.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #787C49 |
|---|---|
| RGB | rgb(120, 124, 73) |
| HSL | hsl(65, 26%, 39%) |
| HSV | hsv(65, 41%, 49%) |
| CMYK | cmyk(3.2%, 0%, 41.1%, 51.4%) |
| CIE-LAB | lab(50.56, -9.92, 27.32) |
| CIE-LCH | lch(50.56, 29.07, 109.95°) |
| OKLab | oklab(57.03% -0.0273 0.0666) |
| OKLCH | oklch(57.03% 0.072 112.3) |
| XYZ | xyz(16.1561, 18.8897, 9.0970) |
| Luminance | 0.1889 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.98
Olive Drab
#6F7632
ΔE00 4.62
Military Green
#667C3E
ΔE00 5.57
Muddy Green
#657432
ΔE00 5.96
Khaki Green
#728639
ΔE00 6.53
Swamp
#698339
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C49 #4D497C
analogous
#7C6649 #787C49 #5E7C49
triadic
#787C49 #49787C #7C4978
tetradic
#787C49 #497C66 #4D497C #7C495E
square
#787C49 #497C66 #4D497C #7C495E
split-complementary
#787C49 #495E7C #66497C
monochromatic
#2D2F1C #535532 #787C49 #9DA261 #B5B887
Accessibility & contrast
On white
4.40
#787C49 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#787C49 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C49
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C49 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837845
Deuteranopia (green-blind)
#83794B
Tritanopia (blue-blind)
#7E766F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787c49; /* rgb */ color: rgb(120, 124, 73); /* oklch */ color: oklch(57.0% 0.072 112.3);
Tailwind
colors: {
custom: {
50: '#a0a17c',
500: '#787c49',
950: '#000000',
},
}SCSS
$custom: #787c49; $custom-light: #a0a17c; $custom-dark: #000000;
JSON
{
"hex": "#787c49",
"rgb": {
"r": 120,
"g": 124,
"b": 73
},
"hsl": {
"h": 64.706,
"s": 25.888,
"l": 38.627
},
"oklch": {
"l": 0.5703,
"c": 0.07196,
"h": 112.3
},
"luminance": 0.18889
}Semantic roles & 50–950 ramp
primary
#787C49
secondary
#807CA4
accent
#66C26D
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0F09
muted
#7E7E7B