#787E4D#787E4D
#787E4D is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.070 H 114.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #787E4D |
|---|---|
| RGB | rgb(120, 126, 77) |
| HSL | hsl(67, 24%, 40%) |
| HSV | hsv(67, 39%, 49%) |
| CMYK | cmyk(4.8%, 0%, 38.9%, 50.6%) |
| CIE-LAB | lab(51.21, -10.52, 25.94) |
| CIE-LCH | lch(51.21, 27.99, 112.07°) |
| OKLab | oklab(57.57% -0.0287 0.0636) |
| OKLCH | oklch(57.57% 0.07 114.3) |
| XYZ | xyz(16.5462, 19.4508, 9.9025) |
| Luminance | 0.1945 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.25
Military Green
#667C3E
ΔE00 5.43
Olive Drab
#6F7632
ΔE00 5.46
Khaki Green
#728639
ΔE00 6.39
Muddy Green
#657432
ΔE00 6.47
Swamp
#698339
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E4D #534D7E
analogous
#7E6C4D #787E4D #607E4D
triadic
#787E4D #4D787E #7E4D78
tetradic
#787E4D #4D7E6C #534D7E #7E4D60
square
#787E4D #4D7E6C #534D7E #7E4D60
split-complementary
#787E4D #4D607E #6C4D7E
monochromatic
#30321F #545836 #787E4D #9BA266 #B4B98C
Accessibility & contrast
On white
4.29
#787E4D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#787E4D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E4D
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E4D | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857A49
Deuteranopia (green-blind)
#847B4F
Tritanopia (blue-blind)
#7D7972
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #787e4d; /* rgb */ color: rgb(120, 126, 77); /* oklch */ color: oklch(57.6% 0.070 114.3);
Tailwind
colors: {
custom: {
50: '#a0a37f',
500: '#787e4d',
950: '#000000',
},
}SCSS
$custom: #787e4d; $custom-light: #a0a37f; $custom-dark: #000000;
JSON
{
"hex": "#787e4d",
"rgb": {
"r": 120,
"g": 126,
"b": 77
},
"hsl": {
"h": 67.347,
"s": 24.138,
"l": 39.804
},
"oklch": {
"l": 0.5757,
"c": 0.0698,
"h": 114.3
},
"luminance": 0.19451
}Semantic roles & 50–950 ramp
primary
#787E4D
secondary
#8681A6
accent
#67C172
background
#F9FAF7
surface
#F2F3EE
border
#CCCDC9
text
#0F0F0A
muted
#7E7F7C