#778C2F#778C2F

#778C2F is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.4% C 0.121 H 121.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#778C2F
RGBrgb(119, 140, 47)
HSLhsl(74, 50%, 37%)
HSVhsv(74, 66%, 55%)
CMYKcmyk(15%, 0%, 66.4%, 45.1%)
CIE-LABlab(54.95, -21.38, 45.45)
CIE-LCHlch(54.95, 50.23, 115.19°)
OKLaboklab(60.43% -0.0622 0.1034)
OKLCHoklch(60.43% 0.121 121)
XYZxyz(17.4992, 22.8834, 6.1838)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C2F #442F8C
analogous
#8C732F #778C2F #498C2F
triadic
#778C2F #2F778C #8C2F77
tetradic
#778C2F #2F8C73 #442F8C #8C2F49
square
#778C2F #2F8C73 #442F8C #8C2F49
split-complementary
#778C2F #2F498C #732F8C
monochromatic
#293010 #505E20 #778C2F #9EBA3E #B6CD69

Accessibility & contrast

On white

3.77
#778C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#778C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C2F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C2F#FFFFFF#000000##000000
##778C2F1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948423
Deuteranopia (green-blind)
#928436
Tritanopia (blue-blind)
#7D8579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c2f;
/* rgb */ color: rgb(119, 140, 47);
/* oklch */ color: oklch(60.4% 0.121 121.0);
Tailwind
colors: {
  custom: {
    50: '#a1ad6c',
    500: '#778c2f',
    950: '#000000',
  },
}
SCSS
$custom: #778c2f;
$custom-light: #a1ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#778c2f",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 73.548,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.12066,
    "h": 121
  },
  "luminance": 0.22883
}

Semantic roles & 50–950 ramp

primary
#778C2F
secondary
#7563B4
accent
#4FD96E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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