#78A526#78A526

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

Color values

HEX#78A526
RGBrgb(120, 165, 38)
HSLhsl(81, 63%, 40%)
HSVhsv(81, 77%, 65%)
CMYKcmyk(27.3%, 0%, 77%, 35.3%)
CIE-LABlab(62.54, -33.66, 56.50)
CIE-LCHlch(62.54, 65.77, 120.78°)
OKLaboklab(66.57% -0.0967 0.1252)
OKLCHoklch(66.57% 0.158 127.7)
XYZxyz(21.5508, 31.0428, 6.6898)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A526 #5326A5
analogous
#A59326 #78A526 #38A526
triadic
#78A526 #2678A5 #A52678
tetradic
#78A526 #26A593 #5326A5 #A52638
square
#78A526 #26A593 #5326A5 #A52638
split-complementary
#78A526 #2638A5 #9326A5
monochromatic
#30420F #54731B #78A526 #9BD137 #B4DC69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78A526#FFFFFF#000000##000000
##78A5261.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)
#AE9905
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#7D9D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #78a526;
/* rgb */ color: rgb(120, 165, 38);
/* oklch */ color: oklch(66.6% 0.158 127.7);
Tailwind
colors: {
  custom: {
    50: '#a3c06b',
    500: '#78a526',
    950: '#000000',
  },
}
SCSS
$custom: #78a526;
$custom-light: #a3c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#78a526",
  "rgb": {
    "r": 120,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 81.26,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66572,
    "c": 0.15819,
    "h": 127.7
  },
  "luminance": 0.31043
}

Semantic roles & 50–950 ramp

primary
#78A526
secondary
#8664C3
accent
#42E67C
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #78A526

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

Preview Lab → · Contrast checker → · Palette generator →

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