#778F3A#778F3A

#778F3A is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.3% C 0.115 H 123.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#778F3A
RGBrgb(119, 143, 58)
HSLhsl(77, 42%, 39%)
HSVhsv(77, 59%, 56%)
CMYKcmyk(16.8%, 0%, 59.4%, 43.9%)
CIE-LABlab(55.96, -22.01, 41.54)
CIE-LCHlch(55.96, 47.01, 117.92°)
OKLaboklab(61.28% -0.0628 0.0966)
OKLCHoklch(61.28% 0.115 123)
XYZxyz(18.1940, 23.8723, 7.6515)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F3A #523A8F
analogous
#8F7D3A #778F3A #4D8F3A
triadic
#778F3A #3A778F #8F3A77
tetradic
#778F3A #3A8F7D #523A8F #8F3A4D
square
#778F3A #3A8F7D #523A8F #8F3A4D
split-complementary
#778F3A #3A4D8F #7D3A8F
monochromatic
#2F3817 #536328 #778F3A #9AB74F #B3C97A

Accessibility & contrast

On white

3.64
#778F3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#778F3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F3A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F3A#FFFFFF#000000##000000
##778F3A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978731
Deuteranopia (green-blind)
#948640
Tritanopia (blue-blind)
#7C887D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f3a;
/* rgb */ color: rgb(119, 143, 58);
/* oklch */ color: oklch(61.3% 0.115 123.0);
Tailwind
colors: {
  custom: {
    50: '#a0af73',
    500: '#778f3a',
    950: '#000000',
  },
}
SCSS
$custom: #778f3a;
$custom-light: #a0af73;
$custom-dark: #000000;
JSON
{
  "hex": "#778f3a",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 58
  },
  "hsl": {
    "h": 76.941,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.11519,
    "h": 123
  },
  "luminance": 0.23872
}

Semantic roles & 50–950 ramp

primary
#778F3A
secondary
#8472B3
accent
#56D279
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #778F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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