#787A4B#787A4B
#787A4B is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.067 H 110.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #787A4B |
|---|---|
| RGB | rgb(120, 122, 75) |
| HSL | hsl(63, 24%, 39%) |
| HSV | hsv(63, 39%, 48%) |
| CMYK | cmyk(1.6%, 0%, 38.5%, 52.2%) |
| CIE-LAB | lab(50.00, -8.56, 25.50) |
| CIE-LCH | lch(50.00, 26.90, 108.55°) |
| OKLab | oklab(56.6% -0.0233 0.0625) |
| OKLCH | oklch(56.6% 0.067 110.4) |
| XYZ | xyz(15.9754, 18.4204, 9.3692) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.87
Olive Drab
#6F7632
ΔE00 5.17
Military Green
#667C3E
ΔE00 6.38
Muddy Green
#657432
ΔE00 6.44
Khaki Green
#728639
ΔE00 7.74
Swamp
#698339
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A4B #4D4B7A
analogous
#7A644B #787A4B #607A4B
triadic
#787A4B #4B787A #7A4B78
tetradic
#787A4B #4B7A64 #4D4B7A #7A4B60
square
#787A4B #4B7A64 #4D4B7A #7A4B60
split-complementary
#787A4B #4B607A #644B7A
monochromatic
#2D2E1C #535434 #787A4B #9D9F63 #B5B689
Accessibility & contrast
On white
4.48
#787A4B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#787A4B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A4B
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A4B | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817648
Deuteranopia (green-blind)
#81784D
Tritanopia (blue-blind)
#7E756E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787a4b; /* rgb */ color: rgb(120, 122, 75); /* oklch */ color: oklch(56.6% 0.067 110.4);
Tailwind
colors: {
custom: {
50: '#a0a07e',
500: '#787a4b',
950: '#000000',
},
}SCSS
$custom: #787a4b; $custom-light: #a0a07e; $custom-dark: #000000;
JSON
{
"hex": "#787a4b",
"rgb": {
"r": 120,
"g": 122,
"b": 75
},
"hsl": {
"h": 62.553,
"s": 23.858,
"l": 38.627
},
"oklch": {
"l": 0.56598,
"c": 0.06671,
"h": 110.4
},
"luminance": 0.1842
}Semantic roles & 50–950 ramp
primary
#787A4B
secondary
#7F7EA3
accent
#67C06B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C