#778B2A#778B2A

#778B2A is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.1% C 0.123 H 120.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#778B2A
RGBrgb(119, 139, 42)
HSLhsl(72, 54%, 35%)
HSVhsv(72, 70%, 55%)
CMYKcmyk(14.4%, 0%, 69.8%, 45.5%)
CIE-LABlab(54.61, -21.22, 47.21)
CIE-LCHlch(54.61, 51.76, 114.20°)
OKLaboklab(60.14% -0.0622 0.1063)
OKLCHoklch(60.14% 0.123 120.3)
XYZxyz(17.2586, 22.5544, 5.6343)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B2A #3E2A8B
analogous
#8B6E2A #778B2A #468B2A
triadic
#778B2A #2A778B #8B2A77
tetradic
#778B2A #2A8B6E #3E2A8B #8B2A46
square
#778B2A #2A8B6E #3E2A8B #8B2A46
split-complementary
#778B2A #2A468B #6E2A8B
monochromatic
#272D0E #4F5C1C #778B2A #9FBA38 #B8CF60

Accessibility & contrast

On white

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

On black

5.51
#778B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778B2A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778B2A#FFFFFF#000000##000000
##778B2A1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#918332
Tritanopia (blue-blind)
#7E8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #778b2a;
/* rgb */ color: rgb(119, 139, 42);
/* oklch */ color: oklch(60.1% 0.123 120.3);
Tailwind
colors: {
  custom: {
    50: '#a1ac6a',
    500: '#778b2a',
    950: '#000000',
  },
}
SCSS
$custom: #778b2a;
$custom-light: #a1ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#778b2a",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 72.371,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.12321,
    "h": 120.3
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#778B2A
secondary
#6E5CB5
accent
#4BDD69
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #778B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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