#778D1F#778D1F

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

Color values

HEX#778D1F
RGBrgb(119, 141, 31)
HSLhsl(72, 64%, 34%)
HSVhsv(72, 78%, 55%)
CMYKcmyk(15.6%, 0%, 78%, 44.7%)
CIE-LABlab(55.15, -22.86, 51.85)
CIE-LCHlch(55.15, 56.66, 113.79°)
OKLaboklab(60.55% -0.0678 0.1142)
OKLCHoklch(60.55% 0.133 120.7)
XYZxyz(17.3803, 23.0707, 4.8335)
Luminance0.2307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D1F #351F8D
analogous
#8D6C1F #778D1F #408D1F
triadic
#778D1F #1F778D #8D1F77
tetradic
#778D1F #1F8D6C #351F8D #8D1F40
square
#778D1F #1F8D6C #351F8D #8D1F40
split-complementary
#778D1F #1F408D #6C1F8D
monochromatic
#222909 #4D5B14 #778D1F #A1BF2A #BDD84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778D1F#FFFFFF#000000##000000
##778D1F1.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)
#968403
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#7E8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d1f;
/* rgb */ color: rgb(119, 141, 31);
/* oklch */ color: oklch(60.6% 0.133 120.7);
Tailwind
colors: {
  custom: {
    50: '#a1ae64',
    500: '#778d1f',
    950: '#000000',
  },
}
SCSS
$custom: #778d1f;
$custom-light: #a1ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#778d1f",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 72,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.1328,
    "h": 120.7
  },
  "luminance": 0.23071
}

Semantic roles & 50–950 ramp

primary
#778D1F
secondary
#634DBB
accent
#41E762
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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