#787B4A#787B4A
#787B4A is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.069 H 111.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #787B4A |
|---|---|
| RGB | rgb(120, 123, 74) |
| HSL | hsl(64, 25%, 39%) |
| HSV | hsv(64, 40%, 48%) |
| CMYK | cmyk(2.4%, 0%, 39.8%, 51.8%) |
| CIE-LAB | lab(50.28, -9.24, 26.41) |
| CIE-LCH | lch(50.28, 27.98, 109.28°) |
| OKLab | oklab(56.81% -0.0253 0.0646) |
| OKLCH | oklch(56.81% 0.069 111.4) |
| XYZ | xyz(16.0649, 18.6537, 9.2315) |
| Luminance | 0.1865 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.40
Olive Drab
#6F7632
ΔE00 4.86
Military Green
#667C3E
ΔE00 5.95
Muddy Green
#657432
ΔE00 6.17
Khaki Green
#728639
ΔE00 7.13
Swamp
#698339
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787B4A #4D4A7B
analogous
#7B654A #787B4A #5F7B4A
triadic
#787B4A #4A787B #7B4A78
tetradic
#787B4A #4A7B65 #4D4A7B #7B4A5F
square
#787B4A #4A7B65 #4D4A7B #7B4A5F
split-complementary
#787B4A #4A5F7B #654A7B
monochromatic
#2D2F1C #535533 #787B4A #9DA062 #B5B788
Accessibility & contrast
On white
4.44
#787B4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#787B4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787B4A
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787B4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787B4A | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827746
Deuteranopia (green-blind)
#82784C
Tritanopia (blue-blind)
#7E766F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787b4a; /* rgb */ color: rgb(120, 123, 74); /* oklch */ color: oklch(56.8% 0.069 111.4);
Tailwind
colors: {
custom: {
50: '#a0a17d',
500: '#787b4a',
950: '#000000',
},
}SCSS
$custom: #787b4a; $custom-light: #a0a17d; $custom-dark: #000000;
JSON
{
"hex": "#787b4a",
"rgb": {
"r": 120,
"g": 123,
"b": 74
},
"hsl": {
"h": 63.673,
"s": 24.873,
"l": 38.627
},
"oklch": {
"l": 0.56813,
"c": 0.06934,
"h": 111.4
},
"luminance": 0.18653
}Semantic roles & 50–950 ramp
primary
#787B4A
secondary
#7F7DA4
accent
#67C16C
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B