#78A540#78A540

#78A540 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.8% C 0.140 H 129.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#78A540
RGBrgb(120, 165, 64)
HSLhsl(87, 44%, 45%)
HSVhsv(87, 61%, 65%)
CMYKcmyk(27.3%, 0%, 61.2%, 35.3%)
CIE-LABlab(62.74, -31.80, 46.37)
CIE-LCHlch(62.74, 56.23, 124.45°)
OKLaboklab(66.79% -0.0895 0.1075)
OKLCHoklch(66.79% 0.14 129.8)
XYZxyz(22.1261, 31.2729, 9.7200)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A540 #6D40A5
analogous
#A5A040 #78A540 #45A540
triadic
#78A540 #4078A5 #A54078
tetradic
#78A540 #40A5A0 #6D40A5 #A54045
square
#78A540 #40A5A0 #6D40A5 #A54045
split-complementary
#78A540 #4045A5 #A040A5
monochromatic
#384D1E #58792F #78A540 #96C261 #B4D38D

Accessibility & contrast

On white

2.89
#78A540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#78A540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A540
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A540#FFFFFF#000000##000000
##78A5401.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A35
Deuteranopia (green-blind)
#A69747
Tritanopia (blue-blind)
#7B9E8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #78a540;
/* rgb */ color: rgb(120, 165, 64);
/* oklch */ color: oklch(66.8% 0.140 129.8);
Tailwind
colors: {
  custom: {
    50: '#a2c079',
    500: '#78a540',
    950: '#000000',
  },
}
SCSS
$custom: #78a540;
$custom-light: #a2c079;
$custom-dark: #000000;
JSON
{
  "hex": "#78a540",
  "rgb": {
    "r": 120,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 86.733,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.66792,
    "c": 0.13989,
    "h": 129.8
  },
  "luminance": 0.31274
}

Semantic roles & 50–950 ramp

primary
#78A540
secondary
#9D83BE
accent
#54D48D
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #78A540

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

Preview Lab → · Contrast checker → · Palette generator →

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