#778C2D#778C2D

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

Color values

HEX#778C2D
RGBrgb(119, 140, 45)
HSLhsl(73, 51%, 36%)
HSVhsv(73, 68%, 55%)
CMYKcmyk(15%, 0%, 67.9%, 45.1%)
CIE-LABlab(54.94, -21.53, 46.30)
CIE-LCHlch(54.94, 51.06, 114.94°)
OKLaboklab(60.41% -0.0628 0.1049)
OKLCHoklch(60.41% 0.122 120.9)
XYZxyz(17.4597, 22.8676, 5.9762)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C2D #422D8C
analogous
#8C722D #778C2D #488C2D
triadic
#778C2D #2D778C #8C2D77
tetradic
#778C2D #2D8C72 #422D8C #8C2D48
square
#778C2D #2D8C72 #422D8C #8C2D48
split-complementary
#778C2D #2D488C #722D8C
monochromatic
#282F0F #505E1E #778C2D #9EBA3C #B7CE66

Accessibility & contrast

On white

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

On black

5.57
#778C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778C2D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778C2D#FFFFFF#000000##000000
##778C2D1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #778c2d;
/* rgb */ color: rgb(119, 140, 45);
/* oklch */ color: oklch(60.4% 0.122 120.9);
Tailwind
colors: {
  custom: {
    50: '#a1ad6b',
    500: '#778c2d',
    950: '#000000',
  },
}
SCSS
$custom: #778c2d;
$custom-light: #a1ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#778c2d",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 73.263,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.12223,
    "h": 120.9
  },
  "luminance": 0.22868
}

Semantic roles & 50–950 ramp

primary
#778C2D
secondary
#7360B4
accent
#4DDB6C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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