#778A2A#778A2A

#778A2A is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.9% C 0.122 H 119.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#778A2A
RGBrgb(119, 138, 42)
HSLhsl(72, 53%, 35%)
HSVhsv(72, 70%, 54%)
CMYKcmyk(13.8%, 0%, 69.6%, 45.9%)
CIE-LABlab(54.31, -20.71, 46.91)
CIE-LCHlch(54.31, 51.27, 113.82°)
OKLaboklab(59.9% -0.0608 0.1057)
OKLCHoklch(59.9% 0.122 119.9)
XYZxyz(17.1144, 22.2661, 5.5862)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A2A #3D2A8A
analogous
#8A6D2A #778A2A #478A2A
triadic
#778A2A #2A778A #8A2A77
tetradic
#778A2A #2A8A6D #3D2A8A #8A2A47
square
#778A2A #2A8A6D #3D2A8A #8A2A47
split-complementary
#778A2A #2A478A #6D2A8A
monochromatic
#262C0D #4F5B1C #778A2A #9FB938 #B9CF60

Accessibility & contrast

On white

3.85
#778A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#778A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778A2A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778A2A#FFFFFF#000000##000000
##778A2A1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821C
Deuteranopia (green-blind)
#918231
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a2a;
/* rgb */ color: rgb(119, 138, 42);
/* oklch */ color: oklch(59.9% 0.122 119.9);
Tailwind
colors: {
  custom: {
    50: '#a1ac69',
    500: '#778a2a',
    950: '#000000',
  },
}
SCSS
$custom: #778a2a;
$custom-light: #a1ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#778a2a",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 71.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59901,
    "c": 0.12194,
    "h": 119.9
  },
  "luminance": 0.22266
}

Semantic roles & 50–950 ramp

primary
#778A2A
secondary
#6D5BB4
accent
#4BDD68
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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