#778F20#778F20

#778F20 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.0% C 0.135 H 121.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#778F20
RGBrgb(119, 143, 32)
HSLhsl(73, 63%, 34%)
HSVhsv(73, 78%, 56%)
CMYKcmyk(16.8%, 0%, 77.6%, 43.9%)
CIE-LABlab(55.76, -23.82, 52.08)
CIE-LCHlch(55.76, 57.27, 114.57°)
OKLaboklab(61.05% -0.0703 0.1149)
OKLCHoklch(61.05% 0.135 121.5)
XYZxyz(17.6912, 23.6711, 5.0032)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#778F20 #38208F
analogous
#8F7020 #778F20 #408F20
triadic
#778F20 #20778F #8F2077
tetradic
#778F20 #208F70 #38208F #8F2040
square
#778F20 #208F70 #38208F #8F2040
split-complementary
#778F20 #20408F #70208F
monochromatic
#242B0A #4D5D15 #778F20 #A1C12B #BBD851

Accessibility & contrast

On white

3.66
#778F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#778F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #778F20
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##778F20#FFFFFF#000000##000000
##778F201.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988604
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#7E877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #778f20;
/* rgb */ color: rgb(119, 143, 32);
/* oklch */ color: oklch(61.0% 0.135 121.5);
Tailwind
colors: {
  custom: {
    50: '#a2af65',
    500: '#778f20',
    950: '#000000',
  },
}
SCSS
$custom: #778f20;
$custom-light: #a2af65;
$custom-dark: #000000;
JSON
{
  "hex": "#778f20",
  "rgb": {
    "r": 119,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 72.973,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61048,
    "c": 0.13468,
    "h": 121.5
  },
  "luminance": 0.23671
}

Semantic roles & 50–950 ramp

primary
#778F20
secondary
#674FBB
accent
#41E665
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #778F20

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

Preview Lab → · Contrast checker → · Palette generator →

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