#787C55#787C55
#787C55 is a mid, muted yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.057 H 113.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #787C55 |
|---|---|
| RGB | rgb(120, 124, 85) |
| HSL | hsl(66, 19%, 41%) |
| HSV | hsv(66, 31%, 49%) |
| CMYK | cmyk(3.2%, 0%, 31.5%, 51.4%) |
| CIE-LAB | lab(50.76, -8.32, 20.85) |
| CIE-LCH | lch(50.76, 22.45, 111.76°) |
| OKLab | oklab(57.26% -0.022 0.052) |
| OKLCH | oklch(57.26% 0.057 113) |
| XYZ | xyz(16.5931, 19.0644, 11.3982) |
| Luminance | 0.1906 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 6.39
Military Green
#667C3E
ΔE00 7.23
Olive Drab
#6F7632
ΔE00 7.37
Muddy Green
#657432
ΔE00 8.07
Brown Grey
#8D8468
ΔE00 8.22
Camo
#7F8F4E
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C55 #59557C
analogous
#7C6C55 #787C55 #647C55
triadic
#787C55 #55787C #7C5578
tetradic
#787C55 #557C6C #59557C #7C5564
square
#787C55 #557C6C #59557C #7C5564
split-complementary
#787C55 #55647C #6C557C
monochromatic
#323323 #55583C #787C55 #999D71 #B3B695
Accessibility & contrast
On white
4.36
#787C55 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#787C55 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C55
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C55 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C55 | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827852
Deuteranopia (green-blind)
#827957
Tritanopia (blue-blind)
#7D7872
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787c55; /* rgb */ color: rgb(120, 124, 85); /* oklch */ color: oklch(57.3% 0.057 113.0);
Tailwind
colors: {
custom: {
50: '#9fa185',
500: '#787c55',
950: '#000000',
},
}SCSS
$custom: #787c55; $custom-light: #9fa185; $custom-dark: #000000;
JSON
{
"hex": "#787c55",
"rgb": {
"r": 120,
"g": 124,
"b": 85
},
"hsl": {
"h": 66.154,
"s": 18.66,
"l": 40.98
},
"oklch": {
"l": 0.57259,
"c": 0.05651,
"h": 113
},
"luminance": 0.19064
}Semantic roles & 50–950 ramp
primary
#787C55
secondary
#8C89A4
accent
#6CBB75
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0F0B
muted
#7E7E7C