#778E20#778E20

#778E20 is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.8% C 0.133 H 121.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#778E20
RGBrgb(119, 142, 32)
HSLhsl(73, 63%, 34%)
HSVhsv(73, 77%, 56%)
CMYKcmyk(16.2%, 0%, 77.5%, 44.3%)
CIE-LABlab(55.45, -23.32, 51.80)
CIE-LCHlch(55.45, 56.80, 114.23°)
OKLaboklab(60.8% -0.0689 0.1143)
OKLCHoklch(60.8% 0.133 121.1)
XYZxyz(17.5418, 23.3722, 4.9534)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778E20 #37208E
analogous
#8E6E20 #778E20 #408E20
triadic
#778E20 #20778E #8E2077
tetradic
#778E20 #208E6E #37208E #8E2040
square
#778E20 #208E6E #37208E #8E2040
split-complementary
#778E20 #20408E #6E208E
monochromatic
#232A09 #4D5C15 #778E20 #A1C02B #BBD851

Accessibility & contrast

On white

3.70
#778E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#778E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778E20
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778E20#FFFFFF#000000##000000
##778E201.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978505
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#7E8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #778e20;
/* rgb */ color: rgb(119, 142, 32);
/* oklch */ color: oklch(60.8% 0.133 121.1);
Tailwind
colors: {
  custom: {
    50: '#a1af65',
    500: '#778e20',
    950: '#000000',
  },
}
SCSS
$custom: #778e20;
$custom-light: #a1af65;
$custom-dark: #000000;
JSON
{
  "hex": "#778e20",
  "rgb": {
    "r": 119,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 72.545,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60803,
    "c": 0.13345,
    "h": 121.1
  },
  "luminance": 0.23372
}

Semantic roles & 50–950 ramp

primary
#778E20
secondary
#654FBB
accent
#42E664
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778E20

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

Preview Lab → · Contrast checker → · Palette generator →

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