#78A126#78A126

#78A126 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.6% C 0.153 H 126.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#78A126
RGBrgb(120, 161, 38)
HSLhsl(80, 62%, 39%)
HSVhsv(80, 76%, 63%)
CMYKcmyk(25.5%, 0%, 76.4%, 36.9%)
CIE-LABlab(61.33, -31.80, 55.35)
CIE-LCHlch(61.33, 63.83, 119.88°)
OKLaboklab(65.58% -0.0917 0.1227)
OKLCHoklch(65.58% 0.153 126.8)
XYZxyz(20.8405, 29.6224, 6.4530)
Luminance0.2962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A126 #4F26A1
analogous
#A18D26 #78A126 #3BA126
triadic
#78A126 #2678A1 #A12678
tetradic
#78A126 #26A18D #4F26A1 #A1263B
square
#78A126 #26A18D #4F26A1 #A1263B
split-complementary
#78A126 #263BA1 #8D26A1
monochromatic
#2E3E0F #536F1A #78A126 #9CCF35 #B4DB66

Accessibility & contrast

On white

3.03
#78A126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#78A126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78A126
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A126#FFFFFF#000000##000000
##78A1261.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9608
Deuteranopia (green-blind)
#A49332
Tritanopia (blue-blind)
#7D998A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #78a126;
/* rgb */ color: rgb(120, 161, 38);
/* oklch */ color: oklch(65.6% 0.153 126.8);
Tailwind
colors: {
  custom: {
    50: '#a3bd6a',
    500: '#78a126',
    950: '#000000',
  },
}
SCSS
$custom: #78a126;
$custom-light: #a3bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#78a126",
  "rgb": {
    "r": 120,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 80,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65584,
    "c": 0.15321,
    "h": 126.8
  },
  "luminance": 0.29623
}

Semantic roles & 50–950 ramp

primary
#78A126
secondary
#8262C1
accent
#43E579
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #78A126

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

Preview Lab → · Contrast checker → · Palette generator →

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