#778B20#778B20

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

Color values

HEX#778B20
RGBrgb(119, 139, 32)
HSLhsl(71, 63%, 34%)
HSVhsv(71, 77%, 55%)
CMYKcmyk(14.4%, 0%, 77%, 45.5%)
CIE-LABlab(54.54, -21.80, 50.94)
CIE-LCHlch(54.54, 55.41, 113.17°)
OKLaboklab(60.07% -0.0647 0.1125)
OKLCHoklch(60.07% 0.13 119.9)
XYZxyz(17.1014, 22.4915, 4.8066)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778B20 #34208B
analogous
#8B6920 #778B20 #418B20
triadic
#778B20 #20778B #8B2077
tetradic
#778B20 #208B69 #34208B #8B2041
square
#778B20 #208B69 #34208B #8B2041
split-complementary
#778B20 #20418B #69208B
monochromatic
#222809 #4C5915 #778B20 #A2BD2B #BDD64F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##778B20#FFFFFF#000000##000000
##778B201.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)
#948307
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#7E8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #778b20;
/* rgb */ color: rgb(119, 139, 32);
/* oklch */ color: oklch(60.1% 0.130 119.9);
Tailwind
colors: {
  custom: {
    50: '#a1ac64',
    500: '#778b20',
    950: '#000000',
  },
}
SCSS
$custom: #778b20;
$custom-light: #a1ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#778b20",
  "rgb": {
    "r": 119,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 71.215,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.12979,
    "h": 119.9
  },
  "luminance": 0.22491
}

Semantic roles & 50–950 ramp

primary
#778B20
secondary
#614DBA
accent
#42E661
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778B20

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

Preview Lab → · Contrast checker → · Palette generator →

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