#787A5E#787A5E
#787A5E is a mid, muted yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.041 H 111.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #787A5E |
|---|---|
| RGB | rgb(120, 122, 94) |
| HSL | hsl(64, 13%, 42%) |
| HSV | hsv(64, 23%, 48%) |
| CMYK | cmyk(1.6%, 0%, 23%, 52.2%) |
| CIE-LAB | lab(50.36, -5.84, 15.13) |
| CIE-LCH | lch(50.36, 16.22, 111.11°) |
| OKLab | oklab(57% -0.0148 0.0385) |
| OKLCH | oklch(57% 0.041 111) |
| XYZ | xyz(16.7255, 18.7204, 13.3198) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 7.11
Grey Brown
#7F7053
ΔE00 8.79
Brownish Grey
#86775F
ΔE00 9.11
Drab
#828344
ΔE00 9.40
Military Green
#667C3E
ΔE00 10.16
Olive Drab
#6F7632
ΔE00 10.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A5E #605E7A
analogous
#7A6E5E #787A5E #6A7A5E
triadic
#787A5E #5E787A #7A5E78
tetradic
#787A5E #5E7A6E #605E7A #7A5E6A
square
#787A5E #5E7A6E #605E7A #7A5E6A
split-complementary
#787A5E #5E6A7A #6E5E7A
monochromatic
#343529 #565743 #787A5E #989A7C #B3B49E
Accessibility & contrast
On white
4.43
#787A5E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#787A5E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A5E
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A5E | 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)
#7F775C
Deuteranopia (green-blind)
#7F785F
Tritanopia (blue-blind)
#7C7772
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787a5e; /* rgb */ color: rgb(120, 122, 94); /* oklch */ color: oklch(57.0% 0.041 111.0);
Tailwind
colors: {
custom: {
50: '#9fa08b',
500: '#787a5e',
950: '#000000',
},
}SCSS
$custom: #787a5e; $custom-light: #9fa08b; $custom-dark: #000000;
JSON
{
"hex": "#787a5e",
"rgb": {
"r": 120,
"g": 122,
"b": 94
},
"hsl": {
"h": 64.286,
"s": 12.963,
"l": 42.353
},
"oklch": {
"l": 0.56998,
"c": 0.0412,
"h": 111
},
"luminance": 0.1872
}Semantic roles & 50–950 ramp
primary
#787A5E
secondary
#9291A3
accent
#72B677
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0E0C
muted
#7E7E7D