#778D2D#778D2D

#778D2D is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.7% C 0.124 H 121.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#778D2D
RGBrgb(119, 141, 45)
HSLhsl(74, 52%, 36%)
HSVhsv(74, 68%, 55%)
CMYKcmyk(15.6%, 0%, 68.1%, 44.7%)
CIE-LABlab(55.24, -22.04, 46.61)
CIE-LCHlch(55.24, 51.56, 115.30°)
OKLaboklab(60.66% -0.0642 0.1055)
OKLCHoklch(60.66% 0.124 121.3)
XYZxyz(17.6065, 23.1612, 6.0251)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D2D #432D8D
analogous
#8D732D #778D2D #478D2D
triadic
#778D2D #2D778D #8D2D77
tetradic
#778D2D #2D8D73 #432D8D #8D2D47
square
#778D2D #2D8D73 #432D8D #8D2D47
split-complementary
#778D2D #2D478D #732D8D
monochromatic
#29300F #505F1E #778D2D #9EBB3C #B6CE66

Accessibility & contrast

On white

3.73
#778D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#778D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778D2D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778D2D#FFFFFF#000000##000000
##778D2D1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968520
Deuteranopia (green-blind)
#938434
Tritanopia (blue-blind)
#7D867A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d2d;
/* rgb */ color: rgb(119, 141, 45);
/* oklch */ color: oklch(60.7% 0.124 121.3);
Tailwind
colors: {
  custom: {
    50: '#a1ae6b',
    500: '#778d2d',
    950: '#000000',
  },
}
SCSS
$custom: #778d2d;
$custom-light: #a1ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#778d2d",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 73.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.12353,
    "h": 121.3
  },
  "luminance": 0.23161
}

Semantic roles & 50–950 ramp

primary
#778D2D
secondary
#7461B5
accent
#4DDB6D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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