#787A4C#787A4C
#787A4C is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.065 H 110.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #787A4C |
|---|---|
| RGB | rgb(120, 122, 76) |
| HSL | hsl(63, 23%, 39%) |
| HSV | hsv(63, 38%, 48%) |
| CMYK | cmyk(1.6%, 0%, 37.7%, 52.2%) |
| CIE-LAB | lab(50.02, -8.43, 24.96) |
| CIE-LCH | lch(50.02, 26.35, 108.66°) |
| OKLab | oklab(56.62% -0.0229 0.0613) |
| OKLCH | oklch(56.62% 0.065 110.4) |
| XYZ | xyz(16.0099, 18.4342, 9.5508) |
| Luminance | 0.1843 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.04
Olive Drab
#6F7632
ΔE00 5.39
Military Green
#667C3E
ΔE00 6.49
Muddy Green
#657432
ΔE00 6.60
Khaki Green
#728639
ΔE00 7.91
Swamp
#698339
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A4C #4E4C7A
analogous
#7A654C #787A4C #617A4C
triadic
#787A4C #4C787A #7A4C78
tetradic
#787A4C #4C7A65 #4E4C7A #7A4C61
square
#787A4C #4C7A65 #4E4C7A #7A4C61
split-complementary
#787A4C #4C617A #654C7A
monochromatic
#2E2F1D #535435 #787A4C #9C9F64 #B4B68A
Accessibility & contrast
On white
4.48
#787A4C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#787A4C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A4C
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A4C | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817649
Deuteranopia (green-blind)
#81784E
Tritanopia (blue-blind)
#7E756E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787a4c; /* rgb */ color: rgb(120, 122, 76); /* oklch */ color: oklch(56.6% 0.065 110.4);
Tailwind
colors: {
custom: {
50: '#a0a07e',
500: '#787a4c',
950: '#000000',
},
}SCSS
$custom: #787a4c; $custom-light: #a0a07e; $custom-dark: #000000;
JSON
{
"hex": "#787a4c",
"rgb": {
"r": 120,
"g": 122,
"b": 76
},
"hsl": {
"h": 62.609,
"s": 23.232,
"l": 38.824
},
"oklch": {
"l": 0.56616,
"c": 0.06544,
"h": 110.4
},
"luminance": 0.18434
}Semantic roles & 50–950 ramp
primary
#787A4C
secondary
#817FA3
accent
#68C06C
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E0A
muted
#7E7E7C