#78B540#78B540

#78B540 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.7% C 0.162 H 132.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#78B540
RGBrgb(120, 181, 64)
HSLhsl(91, 48%, 48%)
HSVhsv(91, 65%, 71%)
CMYKcmyk(33.7%, 0%, 64.6%, 29%)
CIE-LABlab(67.58, -39.09, 51.69)
CIE-LCHlch(67.58, 64.81, 127.09°)
OKLaboklab(70.73% -0.1095 0.1188)
OKLCHoklch(70.73% 0.162 132.7)
XYZxyz(25.1947, 37.4100, 10.7429)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B540 #7D40B5
analogous
#B2B540 #78B540 #40B542
triadic
#78B540 #4078B5 #B54078
tetradic
#78B540 #40B2B5 #7D40B5 #B54240
square
#78B540 #40B2B5 #7D40B5 #B54240
split-complementary
#78B540 #4240B5 #B540B2
monochromatic
#3C5B20 #5A8830 #78B540 #97CA68 #B6DA96

Accessibility & contrast

On white

2.48
#78B540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#78B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B540
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B540#FFFFFF#000000##000000
##78B5401.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#79AE9D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #78b540;
/* rgb */ color: rgb(120, 181, 64);
/* oklch */ color: oklch(70.7% 0.162 132.7);
Tailwind
colors: {
  custom: {
    50: '#a3cb7a',
    500: '#78b540',
    950: '#000000',
  },
}
SCSS
$custom: #78b540;
$custom-light: #a3cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#78b540",
  "rgb": {
    "r": 120,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 91.282,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70731,
    "c": 0.16157,
    "h": 132.7
  },
  "luminance": 0.37411
}

Semantic roles & 50–950 ramp

primary
#78B540
secondary
#AA8BC5
accent
#50D797
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#0F130A
muted
#7F827C

Preview Lab

Preview with #78B540

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

Preview Lab → · Contrast checker → · Palette generator →

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