#778F40#778F40

#778F40 is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.4% C 0.109 H 123.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#778F40
RGBrgb(119, 143, 64)
HSLhsl(78, 38%, 41%)
HSVhsv(78, 55%, 56%)
CMYKcmyk(16.8%, 0%, 55.2%, 43.9%)
CIE-LABlab(56.02, -21.44, 38.69)
CIE-LCHlch(56.02, 44.24, 118.99°)
OKLaboklab(61.35% -0.0606 0.0911)
OKLCHoklch(61.35% 0.109 123.7)
XYZxyz(18.3557, 23.9369, 8.5028)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F40 #58408F
analogous
#8F7F40 #778F40 #4F8F40
triadic
#778F40 #40778F #8F4077
tetradic
#778F40 #408F7F #58408F #8F404F
square
#778F40 #408F7F #58408F #8F404F
split-complementary
#778F40 #404F8F #7F408F
monochromatic
#313A1A #54652D #778F40 #98B458 #B2C782

Accessibility & contrast

On white

3.63
#778F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#778F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F40
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F40#FFFFFF#000000##000000
##778F401.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968738
Deuteranopia (green-blind)
#938645
Tritanopia (blue-blind)
#7C897D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f40;
/* rgb */ color: rgb(119, 143, 64);
/* oklch */ color: oklch(61.4% 0.109 123.7);
Tailwind
colors: {
  custom: {
    50: '#a0af77',
    500: '#778f40',
    950: '#000000',
  },
}
SCSS
$custom: #778f40;
$custom-light: #a0af77;
$custom-dark: #000000;
JSON
{
  "hex": "#778f40",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 78.228,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6135,
    "c": 0.10942,
    "h": 123.7
  },
  "luminance": 0.23937
}

Semantic roles & 50–950 ramp

primary
#778F40
secondary
#8A79B2
accent
#5ACE7D
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #778F40

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

Preview Lab → · Contrast checker → · Palette generator →

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