#78A22B#78A22B

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

Color values

HEX#78A22B
RGBrgb(120, 162, 43)
HSLhsl(81, 58%, 40%)
HSVhsv(81, 73%, 64%)
CMYKcmyk(25.9%, 0%, 73.5%, 36.5%)
CIE-LABlab(61.66, -31.98, 53.91)
CIE-LCHlch(61.66, 62.68, 120.68°)
OKLaboklab(65.86% -0.0918 0.1205)
OKLCHoklch(65.86% 0.152 127.3)
XYZxyz(21.1021, 30.0077, 6.9653)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A22B #552BA2
analogous
#A2902B #78A22B #3DA22B
triadic
#78A22B #2B78A2 #A22B78
tetradic
#78A22B #2BA290 #552BA2 #A22B3D
square
#78A22B #2BA290 #552BA2 #A22B3D
split-complementary
#78A22B #2B3DA2 #902BA2
monochromatic
#304111 #54721E #78A22B #9ACC3E #B3D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78A22B#FFFFFF#000000##000000
##78A22B1.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)
#AA9715
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#7D9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #78a22b;
/* rgb */ color: rgb(120, 162, 43);
/* oklch */ color: oklch(65.9% 0.151 127.3);
Tailwind
colors: {
  custom: {
    50: '#a3bd6d',
    500: '#78a22b',
    950: '#000000',
  },
}
SCSS
$custom: #78a22b;
$custom-light: #a3bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#78a22b",
  "rgb": {
    "r": 120,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 81.176,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65865,
    "c": 0.1515,
    "h": 127.3
  },
  "luminance": 0.30008
}

Semantic roles & 50–950 ramp

primary
#78A22B
secondary
#8869C0
accent
#47E17D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #78A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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