#787C4A#787C4A
#787C4A is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.071 H 112.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #787C4A |
|---|---|
| RGB | rgb(120, 124, 74) |
| HSL | hsl(65, 25%, 39%) |
| HSV | hsv(65, 40%, 49%) |
| CMYK | cmyk(3.2%, 0%, 40.3%, 51.4%) |
| CIE-LAB | lab(50.57, -9.79, 26.79) |
| CIE-LCH | lch(50.57, 28.52, 110.08°) |
| OKLab | oklab(57.05% -0.0269 0.0654) |
| OKLCH | oklch(57.05% 0.071 112.4) |
| XYZ | xyz(16.1896, 18.9030, 9.2730) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.14
Olive Drab
#6F7632
ΔE00 4.82
Military Green
#667C3E
ΔE00 5.65
Muddy Green
#657432
ΔE00 6.09
Khaki Green
#728639
ΔE00 6.69
Swamp
#698339
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C4A #4E4A7C
analogous
#7C674A #787C4A #5F7C4A
triadic
#787C4A #4A787C #7C4A78
tetradic
#787C4A #4A7C67 #4E4A7C #7C4A5F
square
#787C4A #4A7C67 #4E4A7C #7C4A5F
split-complementary
#787C4A #4A5F7C #674A7C
monochromatic
#2E2F1C #535633 #787C4A #9CA162 #B4B888
Accessibility & contrast
On white
4.39
#787C4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#787C4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C4A
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C4A | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 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)
#837846
Deuteranopia (green-blind)
#83794C
Tritanopia (blue-blind)
#7E7770
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787c4a; /* rgb */ color: rgb(120, 124, 74); /* oklch */ color: oklch(57.0% 0.071 112.4);
Tailwind
colors: {
custom: {
50: '#a0a17d',
500: '#787c4a',
950: '#000000',
},
}SCSS
$custom: #787c4a; $custom-light: #a0a17d; $custom-dark: #000000;
JSON
{
"hex": "#787c4a",
"rgb": {
"r": 120,
"g": 124,
"b": 74
},
"hsl": {
"h": 64.8,
"s": 25.253,
"l": 38.824
},
"oklch": {
"l": 0.57047,
"c": 0.07073,
"h": 112.4
},
"luminance": 0.18903
}Semantic roles & 50–950 ramp
primary
#787C4A
secondary
#817DA4
accent
#66C26D
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0F0A
muted
#7E7E7C