#78B531#78B531

#78B531 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 70.6% C 0.172 H 131.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#78B531
RGBrgb(120, 181, 49)
HSLhsl(88, 57%, 45%)
HSVhsv(88, 73%, 71%)
CMYKcmyk(33.7%, 0%, 72.9%, 29%)
CIE-LABlab(67.47, -40.19, 57.48)
CIE-LCHlch(67.47, 70.14, 124.96°)
OKLaboklab(70.6% -0.1137 0.1289)
OKLCHoklch(70.6% 0.172 131.4)
XYZxyz(24.8237, 37.2617, 8.7894)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B531 #6E31B5
analogous
#B5B031 #78B531 #36B531
triadic
#78B531 #3178B5 #B53178
tetradic
#78B531 #31B5B0 #6E31B5 #B53136
square
#78B531 #31B5B0 #6E31B5 #B53136
split-complementary
#78B531 #3136B5 #B031B5
monochromatic
#385517 #588524 #78B531 #96D053 #B4DD83

Accessibility & contrast

On white

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

On black

8.45
#78B531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B531
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B531#FFFFFF#000000##000000
##78B5311.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#7AAD9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #78b531;
/* rgb */ color: rgb(120, 181, 49);
/* oklch */ color: oklch(70.6% 0.172 131.4);
Tailwind
colors: {
  custom: {
    50: '#a4cb72',
    500: '#78b531',
    950: '#000000',
  },
}
SCSS
$custom: #78b531;
$custom-light: #a4cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#78b531",
  "rgb": {
    "r": 120,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 87.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70605,
    "c": 0.17188,
    "h": 131.4
  },
  "luminance": 0.37263
}

Semantic roles & 50–950 ramp

primary
#78B531
secondary
#9E7BC7
accent
#47E18E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #78B531

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

Preview Lab → · Contrast checker → · Palette generator →

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