#778E40#778E40

#778E40 is a mid, moderate yellow-green. Relative luminance 0.236; OKLCH L 61.1% C 0.108 H 123.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#778E40
RGBrgb(119, 142, 64)
HSLhsl(78, 38%, 40%)
HSVhsv(78, 55%, 56%)
CMYKcmyk(16.2%, 0%, 54.9%, 44.3%)
CIE-LABlab(55.72, -20.93, 38.34)
CIE-LCHlch(55.72, 43.68, 118.63°)
OKLaboklab(61.11% -0.0592 0.0903)
OKLCHoklch(61.11% 0.108 123.2)
XYZxyz(18.2062, 23.6380, 8.4529)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E40 #57408E
analogous
#8E7E40 #778E40 #508E40
triadic
#778E40 #40778E #8E4077
tetradic
#778E40 #408E7E #57408E #8E4050
square
#778E40 #408E7E #57408E #8E4050
split-complementary
#778E40 #40508E #7E408E
monochromatic
#303A1A #54642D #778E40 #98B458 #B2C782

Accessibility & contrast

On white

3.67
#778E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#778E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E40
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E40#FFFFFF#000000##000000
##778E401.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958638
Deuteranopia (green-blind)
#928545
Tritanopia (blue-blind)
#7C887D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e40;
/* rgb */ color: rgb(119, 142, 64);
/* oklch */ color: oklch(61.1% 0.108 123.2);
Tailwind
colors: {
  custom: {
    50: '#a0af77',
    500: '#778e40',
    950: '#000000',
  },
}
SCSS
$custom: #778e40;
$custom-light: #a0af77;
$custom-dark: #000000;
JSON
{
  "hex": "#778e40",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 77.692,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61108,
    "c": 0.108,
    "h": 123.2
  },
  "luminance": 0.23638
}

Semantic roles & 50–950 ramp

primary
#778E40
secondary
#8979B1
accent
#5ACE7C
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #778E40

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#778E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva