#778A2D#778A2D

#778A2D is a mid, moderate yellow-green. Relative luminance 0.223; OKLCH L 59.9% C 0.120 H 120.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#778A2D
RGBrgb(119, 138, 45)
HSLhsl(72, 51%, 36%)
HSVhsv(72, 67%, 54%)
CMYKcmyk(13.8%, 0%, 67.4%, 45.9%)
CIE-LABlab(54.33, -20.50, 45.67)
CIE-LCHlch(54.33, 50.06, 114.18°)
OKLaboklab(59.93% -0.0599 0.1036)
OKLCHoklch(59.93% 0.12 120.1)
XYZxyz(17.1702, 22.2884, 5.8797)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778A2D #402D8A
analogous
#8A6E2D #778A2D #488A2D
triadic
#778A2D #2D778A #8A2D77
tetradic
#778A2D #2D8A6E #402D8A #8A2D48
square
#778A2D #2D8A6E #402D8A #8A2D48
split-complementary
#778A2D #2D488A #6E2D8A
monochromatic
#272E0F #4F5C1E #778A2D #9FB83C #B7CD65

Accessibility & contrast

On white

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

On black

5.46
#778A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778A2D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778A2D#FFFFFF#000000##000000
##778A2D1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938220
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778a2d;
/* rgb */ color: rgb(119, 138, 45);
/* oklch */ color: oklch(59.9% 0.120 120.1);
Tailwind
colors: {
  custom: {
    50: '#a1ac6b',
    500: '#778a2d',
    950: '#000000',
  },
}
SCSS
$custom: #778a2d;
$custom-light: #a1ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#778a2d",
  "rgb": {
    "r": 119,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 72.258,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.11965,
    "h": 120.1
  },
  "luminance": 0.22288
}

Semantic roles & 50–950 ramp

primary
#778A2D
secondary
#7160B3
accent
#4DDA6A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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