#778151#778151
#778151 is a mid, moderate yellow-green. Relative luminance 0.202; OKLCH L 58.3% C 0.069 H 118.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #778151 |
|---|---|
| RGB | rgb(119, 129, 81) |
| HSL | hsl(73, 23%, 41%) |
| HSV | hsv(73, 37%, 51%) |
| CMYK | cmyk(7.8%, 0%, 37.2%, 49.4%) |
| CIE-LAB | lab(52.08, -12.05, 24.82) |
| CIE-LCH | lch(52.08, 27.59, 115.90°) |
| OKLab | oklab(58.27% -0.0328 0.0612) |
| OKLCH | oklch(58.27% 0.069 118.2) |
| XYZ | xyz(16.9432, 20.2166, 10.7926) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Drab
#828344
ΔE00 4.97
Military Green
#667C3E
ΔE00 5.19
Camo
#7F8F4E
ΔE00 5.83
Khaki Green
#728639
ΔE00 6.07
Swamp
#698339
ΔE00 6.17
Olive Drab
#6F7632
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778151 #5B5181
analogous
#817351 #778151 #5F8151
triadic
#778151 #517781 #815177
tetradic
#778151 #518173 #5B5181 #81515F
square
#778151 #518173 #5B5181 #81515F
split-complementary
#778151 #515F81 #735181
monochromatic
#323622 #545B39 #778151 #98A36C #B2BA92
Accessibility & contrast
On white
4.16
#778151 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#778151 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778151
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778151 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877C4E
Deuteranopia (green-blind)
#867C53
Tritanopia (blue-blind)
#7C7C75
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #778151; /* rgb */ color: rgb(119, 129, 81); /* oklch */ color: oklch(58.3% 0.069 118.2);
Tailwind
colors: {
custom: {
50: '#9fa582',
500: '#778151',
950: '#000000',
},
}SCSS
$custom: #778151; $custom-light: #9fa582; $custom-dark: #000000;
JSON
{
"hex": "#778151",
"rgb": {
"r": 119,
"g": 129,
"b": 81
},
"hsl": {
"h": 72.5,
"s": 22.857,
"l": 41.176
},
"oklch": {
"l": 0.58266,
"c": 0.06945,
"h": 118.2
},
"luminance": 0.20217
}Semantic roles & 50–950 ramp
primary
#778151
secondary
#8D86A8
accent
#68BF7B
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0E0F0A
muted
#7E7F7C