#787A5D#787A5D
#787A5D is a mid, muted yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.043 H 110.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #787A5D |
|---|---|
| RGB | rgb(120, 122, 93) |
| HSL | hsl(64, 13%, 42%) |
| HSV | hsv(64, 24%, 48%) |
| CMYK | cmyk(1.6%, 0%, 23.8%, 52.2%) |
| CIE-LAB | lab(50.34, -6.00, 15.68) |
| CIE-LCH | lch(50.34, 16.79, 110.93°) |
| OKLab | oklab(56.97% -0.0152 0.0398) |
| OKLCH | oklch(56.97% 0.043 110.9) |
| XYZ | xyz(16.6810, 18.7026, 13.0850) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 7.15
Grey Brown
#7F7053
ΔE00 8.80
Drab
#828344
ΔE00 9.11
Brownish Grey
#86775F
ΔE00 9.20
Military Green
#667C3E
ΔE00 9.88
Olive Drab
#6F7632
ΔE00 9.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A5D #5F5D7A
analogous
#7A6E5D #787A5D #6A7A5D
triadic
#787A5D #5D787A #7A5D78
tetradic
#787A5D #5D7A6E #5F5D7A #7A5D6A
square
#787A5D #5D7A6E #5F5D7A #7A5D6A
split-complementary
#787A5D #5D6A7A #6E5D7A
monochromatic
#343528 #565743 #787A5D #989A7A #B3B49D
Accessibility & contrast
On white
4.43
#787A5D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#787A5D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A5D
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A5D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A5D | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F775B
Deuteranopia (green-blind)
#7F785E
Tritanopia (blue-blind)
#7C7672
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787a5d; /* rgb */ color: rgb(120, 122, 93); /* oklch */ color: oklch(57.0% 0.043 110.9);
Tailwind
colors: {
custom: {
50: '#9fa08b',
500: '#787a5d',
950: '#000000',
},
}SCSS
$custom: #787a5d; $custom-light: #9fa08b; $custom-dark: #000000;
JSON
{
"hex": "#787a5d",
"rgb": {
"r": 120,
"g": 122,
"b": 93
},
"hsl": {
"h": 64.138,
"s": 13.488,
"l": 42.157
},
"oklch": {
"l": 0.56974,
"c": 0.04261,
"h": 110.9
},
"luminance": 0.18702
}Semantic roles & 50–950 ramp
primary
#787A5D
secondary
#9190A3
accent
#71B676
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D