#778D1B#778D1B

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

Color values

HEX#778D1B
RGBrgb(119, 141, 27)
HSLhsl(72, 68%, 33%)
HSVhsv(72, 81%, 55%)
CMYKcmyk(15.6%, 0%, 80.9%, 44.7%)
CIE-LABlab(55.12, -23.04, 53.11)
CIE-LCHlch(55.12, 57.89, 113.46°)
OKLaboklab(60.53% -0.0686 0.1162)
OKLCHoklch(60.53% 0.135 120.6)
XYZxyz(17.3308, 23.0509, 4.5730)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D1B #311B8D
analogous
#8D6A1B #778D1B #3E8D1B
triadic
#778D1B #1B778D #8D1B77
tetradic
#778D1B #1B8D6A #311B8D #8D1B3E
square
#778D1B #1B8D6A #311B8D #8D1B3E
split-complementary
#778D1B #1B3E8D #6A1B8D
monochromatic
#202607 #4C5A11 #778D1B #A2C025 #BFDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778D1B#FFFFFF#000000##000000
##778D1B1.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)
#948427
Tritanopia (blue-blind)
#7E8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d1b;
/* rgb */ color: rgb(119, 141, 27);
/* oklch */ color: oklch(60.5% 0.135 120.6);
Tailwind
colors: {
  custom: {
    50: '#a2ae62',
    500: '#778d1b',
    950: '#000000',
  },
}
SCSS
$custom: #778d1b;
$custom-light: #a2ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#778d1b",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 71.579,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.1349,
    "h": 120.6
  },
  "luminance": 0.23051
}

Semantic roles & 50–950 ramp

primary
#778D1B
secondary
#5D46BD
accent
#3DEB5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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