#778C1F#778C1F

#778C1F is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.3% C 0.132 H 120.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#778C1F
RGBrgb(119, 140, 31)
HSLhsl(72, 64%, 34%)
HSVhsv(72, 78%, 55%)
CMYKcmyk(15%, 0%, 77.9%, 45.1%)
CIE-LABlab(54.84, -22.36, 51.57)
CIE-LCHlch(54.84, 56.20, 113.44°)
OKLaboklab(60.31% -0.0664 0.1136)
OKLCHoklch(60.31% 0.132 120.3)
XYZxyz(17.2335, 22.7771, 4.7846)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C1F #341F8C
analogous
#8C6A1F #778C1F #408C1F
triadic
#778C1F #1F778C #8C1F77
tetradic
#778C1F #1F8C6A #341F8C #8C1F40
square
#778C1F #1F8C6A #341F8C #8C1F40
split-complementary
#778C1F #1F408C #6A1F8C
monochromatic
#222809 #4C5A14 #778C1F #A2BE2A #BDD84E

Accessibility & contrast

On white

3.78
#778C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#778C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C1F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C1F#FFFFFF#000000##000000
##778C1F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958304
Deuteranopia (green-blind)
#938329
Tritanopia (blue-blind)
#7E8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c1f;
/* rgb */ color: rgb(119, 140, 31);
/* oklch */ color: oklch(60.3% 0.132 120.3);
Tailwind
colors: {
  custom: {
    50: '#a1ad64',
    500: '#778c1f',
    950: '#000000',
  },
}
SCSS
$custom: #778c1f;
$custom-light: #a1ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#778c1f",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 71.56,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60308,
    "c": 0.13158,
    "h": 120.3
  },
  "luminance": 0.22777
}

Semantic roles & 50–950 ramp

primary
#778C1F
secondary
#614CBB
accent
#41E761
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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