#78A22A#78A22A

#78A22A is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.9% C 0.152 H 127.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#78A22A
RGBrgb(120, 162, 42)
HSLhsl(81, 59%, 40%)
HSVhsv(81, 74%, 64%)
CMYKcmyk(25.9%, 0%, 74.1%, 36.5%)
CIE-LABlab(61.65, -32.04, 54.27)
CIE-LCHlch(61.65, 63.02, 120.56°)
OKLaboklab(65.86% -0.092 0.1211)
OKLCHoklch(65.86% 0.152 127.2)
XYZxyz(21.0840, 30.0005, 6.8699)
Luminance0.3000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A22A #542AA2
analogous
#A2902A #78A22A #3CA22A
triadic
#78A22A #2A78A2 #A22A78
tetradic
#78A22A #2AA290 #542AA2 #A22A3C
square
#78A22A #2AA290 #542AA2 #A22A3C
split-complementary
#78A22A #2A3CA2 #902AA2
monochromatic
#304111 #54711D #78A22A #9ACD3D #B3D96D

Accessibility & contrast

On white

3.00
#78A22A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#78A22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A22A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A22A#FFFFFF#000000##000000
##78A22A1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9712
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#7D9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #78a22a;
/* rgb */ color: rgb(120, 162, 42);
/* oklch */ color: oklch(65.9% 0.152 127.2);
Tailwind
colors: {
  custom: {
    50: '#a3bd6c',
    500: '#78a22a',
    950: '#000000',
  },
}
SCSS
$custom: #78a22a;
$custom-light: #a3bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#78a22a",
  "rgb": {
    "r": 120,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 81,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.65858,
    "c": 0.15212,
    "h": 127.2
  },
  "luminance": 0.30001
}

Semantic roles & 50–950 ramp

primary
#78A22A
secondary
#8768C0
accent
#46E27C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #78A22A

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

Preview Lab → · Contrast checker → · Palette generator →

#78A22A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva