#78A128#78A128

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

Color values

HEX#78A128
RGBrgb(120, 161, 40)
HSLhsl(80, 60%, 39%)
HSVhsv(80, 75%, 63%)
CMYKcmyk(25.5%, 0%, 75.2%, 36.9%)
CIE-LABlab(61.34, -31.69, 54.67)
CIE-LCHlch(61.34, 63.19, 120.10°)
OKLaboklab(65.6% -0.0912 0.1216)
OKLCHoklch(65.6% 0.152 126.9)
XYZxyz(20.8737, 29.6356, 6.6276)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A128 #5128A1
analogous
#A18E28 #78A128 #3BA128
triadic
#78A128 #2878A1 #A12878
tetradic
#78A128 #28A18E #5128A1 #A1283B
square
#78A128 #28A18E #5128A1 #A1283B
split-complementary
#78A128 #283BA1 #8E28A1
monochromatic
#2F3F10 #53701C #78A128 #9BCE39 #B4DA6A

Accessibility & contrast

On white

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

On black

6.93
#78A128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78A128
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A128#FFFFFF#000000##000000
##78A1281.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78a128;
/* rgb */ color: rgb(120, 161, 40);
/* oklch */ color: oklch(65.6% 0.152 126.9);
Tailwind
colors: {
  custom: {
    50: '#a3bd6b',
    500: '#78a128',
    950: '#000000',
  },
}
SCSS
$custom: #78a128;
$custom-light: #a3bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#78a128",
  "rgb": {
    "r": 120,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 80.331,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65597,
    "c": 0.15206,
    "h": 126.9
  },
  "luminance": 0.29636
}

Semantic roles & 50–950 ramp

primary
#78A128
secondary
#8465C0
accent
#44E37A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #78A128

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

Preview Lab → · Contrast checker → · Palette generator →

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