#78B255#78B255

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

Color values

HEX#78B255
RGBrgb(120, 178, 85)
HSLhsl(97, 38%, 52%)
HSVhsv(97, 52%, 70%)
CMYKcmyk(32.6%, 0%, 52.2%, 30.2%)
CIE-LABlab(66.89, -35.63, 41.25)
CIE-LCHlch(66.89, 54.51, 130.82°)
OKLaboklab(70.24% -0.0984 0.0984)
OKLCHoklch(70.24% 0.139 135)
XYZxyz(25.3052, 36.4888, 14.3023)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B255 #8F55B2
analogous
#A7B255 #78B255 #55B261
triadic
#78B255 #5578B2 #B25578
tetradic
#78B255 #55A7B2 #8F55B2 #B26155
square
#78B255 #55A7B2 #8F55B2 #B26155
split-complementary
#78B255 #6155B2 #B255A7
monochromatic
#40612C #5C8B3F #78B255 #99C57F #BBD8A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78B255#FFFFFF#000000##000000
##78B2551.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)
#B8A64D
Deuteranopia (green-blind)
#B0A15B
Tritanopia (blue-blind)
#77AC9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #78b255;
/* rgb */ color: rgb(120, 178, 85);
/* oklch */ color: oklch(70.2% 0.139 135.0);
Tailwind
colors: {
  custom: {
    50: '#a2c987',
    500: '#78b255',
    950: '#000000',
  },
}
SCSS
$custom: #78b255;
$custom-light: #a2c987;
$custom-dark: #000000;
JSON
{
  "hex": "#78b255",
  "rgb": {
    "r": 120,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 97.419,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70237,
    "c": 0.13918,
    "h": 135
  },
  "luminance": 0.3649
}

Semantic roles & 50–950 ramp

primary
#78B255
secondary
#B69DC6
accent
#5ACEA2
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #78B255

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

Preview Lab → · Contrast checker → · Palette generator →

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