#778E2A#778E2A

#778E2A is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.9% C 0.127 H 121.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#778E2A
RGBrgb(119, 142, 42)
HSLhsl(74, 54%, 36%)
HSVhsv(74, 70%, 56%)
CMYKcmyk(16.2%, 0%, 70.4%, 44.3%)
CIE-LABlab(55.52, -22.74, 48.14)
CIE-LCHlch(55.52, 53.24, 115.29°)
OKLaboklab(60.88% -0.0664 0.1083)
OKLCHoklch(60.88% 0.127 121.5)
XYZxyz(17.6989, 23.4351, 5.7811)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E2A #412A8E
analogous
#8E732A #778E2A #458E2A
triadic
#778E2A #2A778E #8E2A77
tetradic
#778E2A #2A8E73 #412A8E #8E2A45
square
#778E2A #2A8E73 #412A8E #8E2A45
split-complementary
#778E2A #2A458E #732A8E
monochromatic
#28300E #4F5F1C #778E2A #9FBD38 #B7D162

Accessibility & contrast

On white

3.69
#778E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#778E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E2A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E2A#FFFFFF#000000##000000
##778E2A1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851A
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e2a;
/* rgb */ color: rgb(119, 142, 42);
/* oklch */ color: oklch(60.9% 0.127 121.5);
Tailwind
colors: {
  custom: {
    50: '#a1af6a',
    500: '#778e2a',
    950: '#000000',
  },
}
SCSS
$custom: #778e2a;
$custom-light: #a1af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#778e2a",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 73.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.12704,
    "h": 121.5
  },
  "luminance": 0.23435
}

Semantic roles & 50–950 ramp

primary
#778E2A
secondary
#725DB6
accent
#4ADE6C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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