#778A42#778A42
#778A42 is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 60.2% C 0.100 H 121.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #778A42 |
|---|---|
| RGB | rgb(119, 138, 66) |
| HSL | hsl(76, 35%, 40%) |
| HSV | hsv(76, 52%, 54%) |
| CMYK | cmyk(13.8%, 0%, 52.2%, 45.9%) |
| CIE-LAB | lab(54.55, -18.66, 35.94) |
| CIE-LCH | lch(54.55, 40.50, 117.43°) |
| OKLab | oklab(60.17% -0.0526 0.0853) |
| OKLCH | oklch(60.17% 0.1 121.7) |
| XYZ | xyz(17.6797, 22.4922, 8.5632) |
| Luminance | 0.2249 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Khaki Green
#728639
ΔE00 1.87
Camo
#7F8F4E
ΔE00 2.56
Swamp
#698339
ΔE00 3.58
Moss Green (survey)
#658B38
ΔE00 4.31
Drab Green
#749551
ΔE00 4.87
Drab
#828344
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778A42 #55428A
analogous
#8A7942 #778A42 #538A42
triadic
#778A42 #42778A #8A4277
tetradic
#778A42 #428A79 #55428A #8A4253
square
#778A42 #428A79 #55428A #8A4253
split-complementary
#778A42 #42538A #79428A
monochromatic
#30371A #53612E #778A42 #99B059 #B3C483
Accessibility & contrast
On white
3.82
#778A42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#778A42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778A42
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778A42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778A42 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91833B
Deuteranopia (green-blind)
#8F8346
Tritanopia (blue-blind)
#7C847A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #778a42; /* rgb */ color: rgb(119, 138, 66); /* oklch */ color: oklch(60.2% 0.100 121.7);
Tailwind
colors: {
custom: {
50: '#a0ac78',
500: '#778a42',
950: '#000000',
},
}SCSS
$custom: #778a42; $custom-light: #a0ac78; $custom-dark: #000000;
JSON
{
"hex": "#778a42",
"rgb": {
"r": 119,
"g": 138,
"b": 66
},
"hsl": {
"h": 75.833,
"s": 35.294,
"l": 40
},
"oklch": {
"l": 0.60168,
"c": 0.10022,
"h": 121.7
},
"luminance": 0.22492
}Semantic roles & 50–950 ramp
primary
#778A42
secondary
#8779AE
accent
#5CCB7A
background
#F9FAF7
surface
#F2F4ED
border
#CCCEC8
text
#0F1009
muted
#7E7F7B