#787C53#787C53
#787C53 is a mid, muted yellow. Relative luminance 0.190; OKLCH L 57.2% C 0.059 H 112.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #787C53 |
|---|---|
| RGB | rgb(120, 124, 83) |
| HSL | hsl(66, 20%, 41%) |
| HSV | hsv(66, 33%, 49%) |
| CMYK | cmyk(3.2%, 0%, 33.1%, 51.4%) |
| CIE-LAB | lab(50.73, -8.60, 21.94) |
| CIE-LCH | lch(50.73, 23.56, 111.42°) |
| OKLab | oklab(57.22% -0.0229 0.0546) |
| OKLCH | oklch(57.22% 0.059 112.8) |
| XYZ | xyz(16.5148, 19.0331, 10.9857) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.92
Military Green
#667C3E
ΔE00 6.85
Olive Drab
#6F7632
ΔE00 6.86
Muddy Green
#657432
ΔE00 7.64
Camo
#7F8F4E
ΔE00 8.35
Khaki Green
#728639
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C53 #57537C
analogous
#7C6B53 #787C53 #637C53
triadic
#787C53 #53787C #7C5378
tetradic
#787C53 #537C6B #57537C #7C5363
square
#787C53 #537C6B #57537C #7C5363
split-complementary
#787C53 #53637C #6B537C
monochromatic
#313322 #55573A #787C53 #999E6E #B3B793
Accessibility & contrast
On white
4.37
#787C53 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#787C53 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C53
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C53 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C53 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 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)
#827850
Deuteranopia (green-blind)
#827955
Tritanopia (blue-blind)
#7D7771
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787c53; /* rgb */ color: rgb(120, 124, 83); /* oklch */ color: oklch(57.2% 0.059 112.8);
Tailwind
colors: {
custom: {
50: '#9fa184',
500: '#787c53',
950: '#000000',
},
}SCSS
$custom: #787c53; $custom-light: #9fa184; $custom-dark: #000000;
JSON
{
"hex": "#787c53",
"rgb": {
"r": 120,
"g": 124,
"b": 83
},
"hsl": {
"h": 65.854,
"s": 19.807,
"l": 40.588
},
"oklch": {
"l": 0.57218,
"c": 0.05918,
"h": 112.8
},
"luminance": 0.19033
}Semantic roles & 50–950 ramp
primary
#787C53
secondary
#8A87A4
accent
#6BBC73
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0F0A
muted
#7E7E7C