#778B2D#778B2D

#778B2D is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.2% C 0.121 H 120.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#778B2D
RGBrgb(119, 139, 45)
HSLhsl(73, 51%, 36%)
HSVhsv(73, 68%, 55%)
CMYKcmyk(14.4%, 0%, 67.6%, 45.5%)
CIE-LABlab(54.63, -21.02, 45.98)
CIE-LCHlch(54.63, 50.56, 114.56°)
OKLaboklab(60.17% -0.0614 0.1042)
OKLCHoklch(60.17% 0.121 120.5)
XYZxyz(17.3143, 22.5767, 5.9277)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B2D #412D8B
analogous
#8B702D #778B2D #488B2D
triadic
#778B2D #2D778B #8B2D77
tetradic
#778B2D #2D8B70 #412D8B #8B2D48
square
#778B2D #2D8B70 #412D8B #8B2D48
split-complementary
#778B2D #2D488B #702D8B
monochromatic
#282F0F #4F5D1E #778B2D #9FB93C #B7CD65

Accessibility & contrast

On white

3.81
#778B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#778B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B2D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B2D#FFFFFF#000000##000000
##778B2D1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948320
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#7E8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778b2d;
/* rgb */ color: rgb(119, 139, 45);
/* oklch */ color: oklch(60.2% 0.121 120.5);
Tailwind
colors: {
  custom: {
    50: '#a1ac6b',
    500: '#778b2d',
    950: '#000000',
  },
}
SCSS
$custom: #778b2d;
$custom-light: #a1ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#778b2d",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 72.766,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60171,
    "c": 0.12094,
    "h": 120.5
  },
  "luminance": 0.22577
}

Semantic roles & 50–950 ramp

primary
#778B2D
secondary
#7260B4
accent
#4DDB6B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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