#778B1D#778B1D

#778B1D is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.131 H 119.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#778B1D
RGBrgb(119, 139, 29)
HSLhsl(71, 65%, 33%)
HSVhsv(71, 79%, 55%)
CMYKcmyk(14.4%, 0%, 79.1%, 45.5%)
CIE-LABlab(54.53, -21.94, 51.94)
CIE-LCHlch(54.53, 56.38, 112.91°)
OKLaboklab(60.05% -0.0654 0.114)
OKLCHoklch(60.05% 0.131 119.8)
XYZxyz(17.0625, 22.4760, 4.6016)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B1D #311D8B
analogous
#8B681D #778B1D #408B1D
triadic
#778B1D #1D778B #8B1D77
tetradic
#778B1D #1D8B68 #311D8B #8B1D40
square
#778B1D #1D8B68 #311D8B #8B1D40
split-complementary
#778B1D #1D408B #681D8B
monochromatic
#202608 #4C5812 #778B1D #A2BE28 #BFD949

Accessibility & contrast

On white

3.82
#778B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#778B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B1D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B1D#FFFFFF#000000##000000
##778B1D1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #778b1d;
/* rgb */ color: rgb(119, 139, 29);
/* oklch */ color: oklch(60.1% 0.131 119.8);
Tailwind
colors: {
  custom: {
    50: '#a2ac63',
    500: '#778b1d',
    950: '#000000',
  },
}
SCSS
$custom: #778b1d;
$custom-light: #a2ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#778b1d",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 70.909,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60052,
    "c": 0.13146,
    "h": 119.8
  },
  "luminance": 0.22476
}

Semantic roles & 50–950 ramp

primary
#778B1D
secondary
#5D49BB
accent
#3FE85E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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