#778C2E#778C2E

#778C2E 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.57:1 contrast (WCAG AA passes).

Color values

HEX#778C2E
RGBrgb(119, 140, 46)
HSLhsl(73, 51%, 36%)
HSVhsv(73, 67%, 55%)
CMYKcmyk(15%, 0%, 67.1%, 45.1%)
CIE-LABlab(54.94, -21.46, 45.88)
CIE-LCHlch(54.94, 50.65, 115.07°)
OKLaboklab(60.42% -0.0625 0.1042)
OKLCHoklch(60.42% 0.121 121)
XYZxyz(17.4792, 22.8754, 6.0788)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C2E #432E8C
analogous
#8C722E #778C2E #488C2E
triadic
#778C2E #2E778C #8C2E77
tetradic
#778C2E #2E8C72 #432E8C #8C2E48
square
#778C2E #2E8C72 #432E8C #8C2E48
split-complementary
#778C2E #2E488C #722E8C
monochromatic
#293010 #505E1F #778C2E #9EBA3D #B6CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778C2E#FFFFFF#000000##000000
##778C2E1.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)
#958421
Deuteranopia (green-blind)
#928435
Tritanopia (blue-blind)
#7D8579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c2e;
/* rgb */ color: rgb(119, 140, 46);
/* oklch */ color: oklch(60.4% 0.121 121.0);
Tailwind
colors: {
  custom: {
    50: '#a1ad6c',
    500: '#778c2e',
    950: '#000000',
  },
}
SCSS
$custom: #778c2e;
$custom-light: #a1ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#778c2e",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 73.404,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.12145,
    "h": 121
  },
  "luminance": 0.22875
}

Semantic roles & 50–950 ramp

primary
#778C2E
secondary
#7462B4
accent
#4EDA6D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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