#78B256#78B256

#78B256 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.3% C 0.138 H 135.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#78B256
RGBrgb(120, 178, 86)
HSLhsl(98, 37%, 52%)
HSVhsv(98, 52%, 70%)
CMYKcmyk(32.6%, 0%, 51.7%, 30.2%)
CIE-LABlab(66.90, -35.52, 40.77)
CIE-LCHlch(66.90, 54.07, 131.06°)
OKLaboklab(70.25% -0.098 0.0975)
OKLCHoklch(70.25% 0.138 135.2)
XYZxyz(25.3453, 36.5048, 14.5130)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B256 #9056B2
analogous
#A6B256 #78B256 #56B262
triadic
#78B256 #5678B2 #B25678
tetradic
#78B256 #56A6B2 #9056B2 #B26256
square
#78B256 #56A6B2 #9056B2 #B26256
split-complementary
#78B256 #6256B2 #B256A6
monochromatic
#40612C #5C8B3F #78B256 #9AC580 #BBD8AA

Accessibility & contrast

On white

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

On black

8.30
#78B256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B256
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B256#FFFFFF#000000##000000
##78B2561.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64E
Deuteranopia (green-blind)
#AFA15C
Tritanopia (blue-blind)
#77AC9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #78b256;
/* rgb */ color: rgb(120, 178, 86);
/* oklch */ color: oklch(70.3% 0.138 135.2);
Tailwind
colors: {
  custom: {
    50: '#a2c988',
    500: '#78b256',
    950: '#000000',
  },
}
SCSS
$custom: #78b256;
$custom-light: #a2c988;
$custom-dark: #000000;
JSON
{
  "hex": "#78b256",
  "rgb": {
    "r": 120,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 97.826,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70251,
    "c": 0.13821,
    "h": 135.2
  },
  "luminance": 0.36506
}

Semantic roles & 50–950 ramp

primary
#78B256
secondary
#B79EC6
accent
#5ACDA3
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #78B256

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

Preview Lab → · Contrast checker → · Palette generator →

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