#778D2F#778D2F

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

Color values

HEX#778D2F
RGBrgb(119, 141, 47)
HSLhsl(74, 50%, 37%)
HSVhsv(74, 67%, 55%)
CMYKcmyk(15.6%, 0%, 66.7%, 44.7%)
CIE-LABlab(55.25, -21.89, 45.77)
CIE-LCHlch(55.25, 50.74, 115.56°)
OKLaboklab(60.68% -0.0636 0.1041)
OKLCHoklch(60.68% 0.122 121.4)
XYZxyz(17.6459, 23.1769, 6.2327)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D2F #452F8D
analogous
#8D742F #778D2F #488D2F
triadic
#778D2F #2F778D #8D2F77
tetradic
#778D2F #2F8D74 #452F8D #8D2F48
square
#778D2F #2F8D74 #452F8D #8D2F48
split-complementary
#778D2F #2F488D #742F8D
monochromatic
#2A3110 #505F20 #778D2F #9EBB3E #B6CD69

Accessibility & contrast

On white

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

On black

5.64
#778D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778D2F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778D2F#FFFFFF#000000##000000
##778D2F1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #778d2f;
/* rgb */ color: rgb(119, 141, 47);
/* oklch */ color: oklch(60.7% 0.122 121.4);
Tailwind
colors: {
  custom: {
    50: '#a1ae6d',
    500: '#778d2f',
    950: '#000000',
  },
}
SCSS
$custom: #778d2f;
$custom-light: #a1ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#778d2f",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 74.043,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60676,
    "c": 0.12197,
    "h": 121.4
  },
  "luminance": 0.23177
}

Semantic roles & 50–950 ramp

primary
#778D2F
secondary
#7664B4
accent
#4EDA6F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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