#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
RGBrgb(119, 138, 66)
HSLhsl(76, 35%, 40%)
HSVhsv(76, 52%, 54%)
CMYKcmyk(13.8%, 0%, 52.2%, 45.9%)
CIE-LABlab(54.55, -18.66, 35.94)
CIE-LCHlch(54.55, 40.50, 117.43°)
OKLaboklab(60.17% -0.0526 0.0853)
OKLCHoklch(60.17% 0.1 121.7)
XYZxyz(17.6797, 22.4922, 8.5632)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

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
##778A421.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.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

Preview Lab

Preview with #778A42

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

Preview Lab → · Contrast checker → · Palette generator →

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