#787C48#787C48
#787C48 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.073 H 112.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #787C48 |
|---|---|
| RGB | rgb(120, 124, 72) |
| HSL | hsl(65, 27%, 38%) |
| HSV | hsv(65, 42%, 49%) |
| CMYK | cmyk(3.2%, 0%, 41.9%, 51.4%) |
| CIE-LAB | lab(50.54, -10.04, 27.85) |
| CIE-LCH | lch(50.54, 29.61, 109.82°) |
| OKLab | oklab(57.01% -0.0278 0.0677) |
| OKLCH | oklch(57.01% 0.073 112.3) |
| XYZ | xyz(16.1233, 18.8765, 8.9238) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.84
Olive Drab
#6F7632
ΔE00 4.43
Military Green
#667C3E
ΔE00 5.51
Muddy Green
#657432
ΔE00 5.84
Khaki Green
#728639
ΔE00 6.38
Swamp
#698339
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C48 #4C487C
analogous
#7C6648 #787C48 #5E7C48
triadic
#787C48 #48787C #7C4878
tetradic
#787C48 #487C66 #4C487C #7C485E
square
#787C48 #487C66 #4C487C #7C485E
split-complementary
#787C48 #485E7C #66487C
monochromatic
#2D2F1B #535532 #787C48 #9DA25F #B5B986
Accessibility & contrast
On white
4.40
#787C48 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#787C48 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C48
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C48 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837844
Deuteranopia (green-blind)
#83794A
Tritanopia (blue-blind)
#7E766F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787c48; /* rgb */ color: rgb(120, 124, 72); /* oklch */ color: oklch(57.0% 0.073 112.3);
Tailwind
colors: {
custom: {
50: '#a0a17c',
500: '#787c48',
950: '#000000',
},
}SCSS
$custom: #787c48; $custom-light: #a0a17c; $custom-dark: #000000;
JSON
{
"hex": "#787c48",
"rgb": {
"r": 120,
"g": 124,
"b": 72
},
"hsl": {
"h": 64.615,
"s": 26.531,
"l": 38.431
},
"oklch": {
"l": 0.57012,
"c": 0.07319,
"h": 112.3
},
"luminance": 0.18876
}Semantic roles & 50–950 ramp
primary
#787C48
secondary
#7E7BA5
accent
#65C36C
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0F09
muted
#7E7E7B