#78A521#78A521

#78A521 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.5% C 0.161 H 127.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#78A521
RGBrgb(120, 165, 33)
HSLhsl(80, 67%, 39%)
HSVhsv(80, 80%, 65%)
CMYKcmyk(27.3%, 0%, 80%, 35.3%)
CIE-LABlab(62.52, -33.91, 58.05)
CIE-LCHlch(62.52, 67.23, 120.29°)
OKLaboklab(66.54% -0.0978 0.1276)
OKLCHoklch(66.54% 0.161 127.5)
XYZxyz(21.4754, 31.0127, 6.2931)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A521 #4E21A5
analogous
#A59021 #78A521 #36A521
triadic
#78A521 #2178A5 #A52178
tetradic
#78A521 #21A590 #4E21A5 #A52136
square
#78A521 #21A590 #4E21A5 #A52136
split-complementary
#78A521 #2136A5 #9021A5
monochromatic
#2E3F0D #537217 #78A521 #9CD52E #B4DF61

Accessibility & contrast

On white

2.92
#78A521 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#78A521 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A521
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A521#FFFFFF#000000##000000
##78A5211.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A8962F
Tritanopia (blue-blind)
#7D9D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #78a521;
/* rgb */ color: rgb(120, 165, 33);
/* oklch */ color: oklch(66.5% 0.161 127.5);
Tailwind
colors: {
  custom: {
    50: '#a3c068',
    500: '#78a521',
    950: '#000000',
  },
}
SCSS
$custom: #78a521;
$custom-light: #a3c068;
$custom-dark: #000000;
JSON
{
  "hex": "#78a521",
  "rgb": {
    "r": 120,
    "g": 165,
    "b": 33
  },
  "hsl": {
    "h": 80.455,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66544,
    "c": 0.16076,
    "h": 127.5
  },
  "luminance": 0.31013
}

Semantic roles & 50–950 ramp

primary
#78A521
secondary
#815EC4
accent
#3EEA79
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #78A521

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

Preview Lab → · Contrast checker → · Palette generator →

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