#787C47#787C47
#787C47 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.074 H 112.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #787C47 |
|---|---|
| RGB | rgb(120, 124, 71) |
| HSL | hsl(65, 27%, 38%) |
| HSV | hsv(65, 43%, 49%) |
| CMYK | cmyk(3.2%, 0%, 42.7%, 51.4%) |
| CIE-LAB | lab(50.53, -10.16, 28.38) |
| CIE-LCH | lch(50.53, 30.15, 109.69°) |
| OKLab | oklab(57% -0.0282 0.0689) |
| OKLCH | oklch(57% 0.074 112.3) |
| XYZ | xyz(16.0909, 18.8636, 8.7534) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.71
Olive Drab
#6F7632
ΔE00 4.25
Military Green
#667C3E
ΔE00 5.45
Muddy Green
#657432
ΔE00 5.73
Khaki Green
#728639
ΔE00 6.24
Swamp
#698339
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C47 #4B477C
analogous
#7C6547 #787C47 #5D7C47
triadic
#787C47 #47787C #7C4778
tetradic
#787C47 #477C65 #4B477C #7C475D
square
#787C47 #477C65 #4B477C #7C475D
split-complementary
#787C47 #475D7C #65477C
monochromatic
#2D2E1A #525531 #787C47 #9DA35E #B5B985
Accessibility & contrast
On white
4.40
#787C47 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#787C47 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C47
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C47 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837843
Deuteranopia (green-blind)
#837949
Tritanopia (blue-blind)
#7E766F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787c47; /* rgb */ color: rgb(120, 124, 71); /* oklch */ color: oklch(57.0% 0.074 112.3);
Tailwind
colors: {
custom: {
50: '#a0a17b',
500: '#787c47',
950: '#000000',
},
}SCSS
$custom: #787c47; $custom-light: #a0a17b; $custom-dark: #000000;
JSON
{
"hex": "#787c47",
"rgb": {
"r": 120,
"g": 124,
"b": 71
},
"hsl": {
"h": 64.528,
"s": 27.179,
"l": 38.235
},
"oklch": {
"l": 0.56995,
"c": 0.0744,
"h": 112.3
},
"luminance": 0.18863
}Semantic roles & 50–950 ramp
primary
#787C47
secondary
#7D7AA5
accent
#64C46B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0F09
muted
#7E7E7B