#78A528#78A528

#78A528 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.6% C 0.157 H 127.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#78A528
RGBrgb(120, 165, 40)
HSLhsl(82, 61%, 40%)
HSVhsv(82, 76%, 65%)
CMYKcmyk(27.3%, 0%, 75.8%, 35.3%)
CIE-LABlab(62.55, -33.55, 55.84)
CIE-LCHlch(62.55, 65.14, 121.00°)
OKLaboklab(66.59% -0.0963 0.1241)
OKLCHoklch(66.59% 0.157 127.8)
XYZxyz(21.5839, 31.0561, 6.8643)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A528 #5528A5
analogous
#A59428 #78A528 #39A528
triadic
#78A528 #2878A5 #A52878
tetradic
#78A528 #28A594 #5528A5 #A52839
square
#78A528 #28A594 #5528A5 #A52839
split-complementary
#78A528 #2839A5 #9428A5
monochromatic
#304210 #54741C #78A528 #9ACF3B #B3DB6C

Accessibility & contrast

On white

2.91
#78A528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#78A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A528
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A528#FFFFFF#000000##000000
##78A5281.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990B
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#7C9D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #78a528;
/* rgb */ color: rgb(120, 165, 40);
/* oklch */ color: oklch(66.6% 0.157 127.8);
Tailwind
colors: {
  custom: {
    50: '#a3c06c',
    500: '#78a528',
    950: '#000000',
  },
}
SCSS
$custom: #78a528;
$custom-light: #a3c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#78a528",
  "rgb": {
    "r": 120,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 81.6,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66585,
    "c": 0.15709,
    "h": 127.8
  },
  "luminance": 0.31057
}

Semantic roles & 50–950 ramp

primary
#78A528
secondary
#8867C2
accent
#44E47D
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #78A528

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

Preview Lab → · Contrast checker → · Palette generator →

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