#778C2A#778C2A

#778C2A is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.4% C 0.124 H 120.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#778C2A
RGBrgb(119, 140, 42)
HSLhsl(73, 54%, 36%)
HSVhsv(73, 70%, 55%)
CMYKcmyk(15%, 0%, 70%, 45.1%)
CIE-LABlab(54.91, -21.73, 47.52)
CIE-LCHlch(54.91, 52.25, 114.57°)
OKLaboklab(60.39% -0.0636 0.107)
OKLCHoklch(60.39% 0.124 120.7)
XYZxyz(17.4040, 22.8453, 5.6828)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778C2A #3F2A8C
analogous
#8C702A #778C2A #468C2A
triadic
#778C2A #2A778C #8C2A77
tetradic
#778C2A #2A8C70 #3F2A8C #8C2A46
square
#778C2A #2A8C70 #3F2A8C #8C2A46
split-complementary
#778C2A #2A468C #702A8C
monochromatic
#272E0E #4F5D1C #778C2A #9FBB38 #B8D061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778C2A#FFFFFF#000000##000000
##778C2A1.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)
#95841B
Deuteranopia (green-blind)
#928432
Tritanopia (blue-blind)
#7E8578
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778c2a;
/* rgb */ color: rgb(119, 140, 42);
/* oklch */ color: oklch(60.4% 0.124 120.7);
Tailwind
colors: {
  custom: {
    50: '#a1ad6a',
    500: '#778c2a',
    950: '#000000',
  },
}
SCSS
$custom: #778c2a;
$custom-light: #a1ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#778c2a",
  "rgb": {
    "r": 119,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 72.857,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60388,
    "c": 0.12448,
    "h": 120.7
  },
  "luminance": 0.22845
}

Semantic roles & 50–950 ramp

primary
#778C2A
secondary
#6F5CB5
accent
#4BDD6A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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