#78B252#78B252

#78B252 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.2% C 0.142 H 134.5°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#78B252
RGBrgb(120, 178, 82)
HSLhsl(96, 38%, 51%)
HSVhsv(96, 54%, 70%)
CMYKcmyk(32.6%, 0%, 53.9%, 30.2%)
CIE-LABlab(66.86, -35.98, 42.67)
CIE-LCHlch(66.86, 55.81, 130.14°)
OKLaboklab(70.2% -0.0995 0.1013)
OKLCHoklch(70.2% 0.142 134.5)
XYZxyz(25.1886, 36.4421, 13.6879)
Luminance0.3644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B252 #8C52B2
analogous
#A8B252 #78B252 #52B25C
triadic
#78B252 #5278B2 #B25278
tetradic
#78B252 #52A8B2 #8C52B2 #B25C52
square
#78B252 #52A8B2 #8C52B2 #B25C52
split-complementary
#78B252 #5C52B2 #B252A8
monochromatic
#3F5F2A #5B8A3D #78B252 #99C57C #BAD8A7

Accessibility & contrast

On white

2.53
#78B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#78B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B252
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B252#FFFFFF#000000##000000
##78B2521.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A649
Deuteranopia (green-blind)
#B0A158
Tritanopia (blue-blind)
#78AC9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #78b252;
/* rgb */ color: rgb(120, 178, 82);
/* oklch */ color: oklch(70.2% 0.142 134.5);
Tailwind
colors: {
  custom: {
    50: '#a2c985',
    500: '#78b252',
    950: '#000000',
  },
}
SCSS
$custom: #78b252;
$custom-light: #a2c985;
$custom-dark: #000000;
JSON
{
  "hex": "#78b252",
  "rgb": {
    "r": 120,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 96.25,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70197,
    "c": 0.14203,
    "h": 134.5
  },
  "luminance": 0.36443
}

Semantic roles & 50–950 ramp

primary
#78B252
secondary
#B49BC5
accent
#59CEA0
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #78B252

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

Preview Lab → · Contrast checker → · Palette generator →

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