#78B126#78B126

#78B126 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.5% C 0.173 H 130.1°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#78B126
RGBrgb(120, 177, 38)
HSLhsl(85, 65%, 42%)
HSVhsv(85, 79%, 69%)
CMYKcmyk(32.2%, 0%, 78.5%, 30.6%)
CIE-LABlab(66.20, -39.06, 59.93)
CIE-LCHlch(66.20, 71.54, 123.10°)
OKLaboklab(69.54% -0.1114 0.1324)
OKLCHoklch(69.54% 0.173 130.1)
XYZxyz(23.8176, 35.5765, 7.4454)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78B126 #5F26B1
analogous
#B1A426 #78B126 #33B126
triadic
#78B126 #2678B1 #B12678
tetradic
#78B126 #26B1A4 #5F26B1 #B12633
square
#78B126 #26B1A4 #5F26B1 #B12633
split-complementary
#78B126 #2633B1 #A426B1
monochromatic
#344C10 #567F1B #78B126 #98D63F #B3E071

Accessibility & contrast

On white

2.59
#78B126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#78B126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78B126
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78B126#FFFFFF#000000##000000
##78B1261.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A400
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#7BA997
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #78b126;
/* rgb */ color: rgb(120, 177, 38);
/* oklch */ color: oklch(69.5% 0.173 130.1);
Tailwind
colors: {
  custom: {
    50: '#a4c86c',
    500: '#78b126',
    950: '#000000',
  },
}
SCSS
$custom: #78b126;
$custom-light: #a4c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#78b126",
  "rgb": {
    "r": 120,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 84.604,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69544,
    "c": 0.17301,
    "h": 130.1
  },
  "luminance": 0.35577
}

Semantic roles & 50–950 ramp

primary
#78B126
secondary
#916BC7
accent
#40E885
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #78B126

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

Preview Lab → · Contrast checker → · Palette generator →

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