#78A421#78A421

#78A421 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.3% C 0.160 H 127.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#78A421
RGBrgb(120, 164, 33)
HSLhsl(80, 66%, 39%)
HSVhsv(80, 80%, 64%)
CMYKcmyk(26.8%, 0%, 79.9%, 35.7%)
CIE-LABlab(62.21, -33.45, 57.77)
CIE-LCHlch(62.21, 66.75, 120.07°)
OKLaboklab(66.3% -0.0965 0.127)
OKLCHoklch(66.3% 0.16 127.2)
XYZxyz(21.2958, 30.6534, 6.2333)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A421 #4D21A4
analogous
#A48E21 #78A421 #36A421
triadic
#78A421 #2178A4 #A42178
tetradic
#78A421 #21A48E #4D21A4 #A42136
square
#78A421 #21A48E #4D21A4 #A42136
split-complementary
#78A421 #2136A4 #8E21A4
monochromatic
#2D3E0C #537117 #78A421 #9DD52D #B4DF60

Accessibility & contrast

On white

2.94
#78A421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#78A421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A421
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A421#FFFFFF#000000##000000
##78A4211.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#7D9C8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #78a421;
/* rgb */ color: rgb(120, 164, 33);
/* oklch */ color: oklch(66.3% 0.160 127.2);
Tailwind
colors: {
  custom: {
    50: '#a3bf68',
    500: '#78a421',
    950: '#000000',
  },
}
SCSS
$custom: #78a421;
$custom-light: #a3bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#78a421",
  "rgb": {
    "r": 120,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 80.153,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66296,
    "c": 0.15954,
    "h": 127.2
  },
  "luminance": 0.30654
}

Semantic roles & 50–950 ramp

primary
#78A421
secondary
#805DC4
accent
#3EE978
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #78A421

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

Preview Lab → · Contrast checker → · Palette generator →

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