#778D2E#778D2E

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

Color values

HEX#778D2E
RGBrgb(119, 141, 46)
HSLhsl(74, 51%, 37%)
HSVhsv(74, 67%, 55%)
CMYKcmyk(15.6%, 0%, 67.4%, 44.7%)
CIE-LABlab(55.25, -21.97, 46.19)
CIE-LCHlch(55.25, 51.15, 115.43°)
OKLaboklab(60.67% -0.0639 0.1048)
OKLCHoklch(60.67% 0.123 121.4)
XYZxyz(17.6260, 23.1690, 6.1277)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778D2E #442E8D
analogous
#8D742E #778D2E #488D2E
triadic
#778D2E #2E778D #8D2E77
tetradic
#778D2E #2E8D74 #442E8D #8D2E48
square
#778D2E #2E8D74 #442E8D #8D2E48
split-complementary
#778D2E #2E488D #742E8D
monochromatic
#293110 #505F1F #778D2E #9EBB3D #B6CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778D2E#FFFFFF#000000##000000
##778D2E1.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)
#968521
Deuteranopia (green-blind)
#938435
Tritanopia (blue-blind)
#7D867A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #778d2e;
/* rgb */ color: rgb(119, 141, 46);
/* oklch */ color: oklch(60.7% 0.123 121.4);
Tailwind
colors: {
  custom: {
    50: '#a1ae6c',
    500: '#778d2e',
    950: '#000000',
  },
}
SCSS
$custom: #778d2e;
$custom-light: #a1ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#778d2e",
  "rgb": {
    "r": 119,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 73.895,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.12276,
    "h": 121.4
  },
  "luminance": 0.23169
}

Semantic roles & 50–950 ramp

primary
#778D2E
secondary
#7562B5
accent
#4EDA6E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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