#778D1A#778D1A

#778D1A is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.5% C 0.135 H 120.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#778D1A
RGBrgb(119, 141, 26)
HSLhsl(71, 69%, 33%)
HSVhsv(71, 82%, 55%)
CMYKcmyk(15.6%, 0%, 81.6%, 44.7%)
CIE-LABlab(55.12, -23.09, 53.41)
CIE-LCHlch(55.12, 58.18, 113.38°)
OKLaboklab(60.53% -0.0688 0.1166)
OKLCHoklch(60.53% 0.135 120.5)
XYZxyz(17.3194, 23.0463, 4.5131)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D1A #301A8D
analogous
#8D691A #778D1A #3E8D1A
triadic
#778D1A #1A778D #8D1A77
tetradic
#778D1A #1A8D69 #301A8D #8D1A3E
square
#778D1A #1A8D69 #301A8D #8D1A3E
split-complementary
#778D1A #1A3E8D #691A8D
monochromatic
#202607 #4B5910 #778D1A #A3C124 #C0DD45

Accessibility & contrast

On white

3.74
#778D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#778D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778D1A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778D1A#FFFFFF#000000##000000
##778D1A1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#948426
Tritanopia (blue-blind)
#7E8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d1a;
/* rgb */ color: rgb(119, 141, 26);
/* oklch */ color: oklch(60.5% 0.135 120.5);
Tailwind
colors: {
  custom: {
    50: '#a2ae62',
    500: '#778d1a',
    950: '#000000',
  },
}
SCSS
$custom: #778d1a;
$custom-light: #a2ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#778d1a",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 71.478,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.13538,
    "h": 120.5
  },
  "luminance": 0.23046
}

Semantic roles & 50–950 ramp

primary
#778D1A
secondary
#5C45BE
accent
#3CEC5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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