#78A227#78A227

#78A227 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.8% C 0.154 H 127.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#78A227
RGBrgb(120, 162, 39)
HSLhsl(80, 61%, 39%)
HSVhsv(80, 76%, 64%)
CMYKcmyk(25.9%, 0%, 75.9%, 36.5%)
CIE-LABlab(61.64, -32.22, 55.30)
CIE-LCHlch(61.64, 64.00, 120.22°)
OKLaboklab(65.84% -0.0927 0.1228)
OKLCHoklch(65.84% 0.154 127.1)
XYZxyz(21.0323, 29.9798, 6.5976)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78A227 #5127A2
analogous
#A28F27 #78A227 #3AA227
triadic
#78A227 #2778A2 #A22778
tetradic
#78A227 #27A28F #5127A2 #A2273A
square
#78A227 #27A28F #5127A2 #A2273A
split-complementary
#78A227 #273AA2 #8F27A2
monochromatic
#2F3F0F #53711B #78A227 #9BCF37 #B4DB69

Accessibility & contrast

On white

3.00
#78A227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#78A227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #78A227
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78A227#FFFFFF#000000##000000
##78A2271.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970B
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#7D9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #78a227;
/* rgb */ color: rgb(120, 162, 39);
/* oklch */ color: oklch(65.8% 0.154 127.1);
Tailwind
colors: {
  custom: {
    50: '#a3bd6b',
    500: '#78a227',
    950: '#000000',
  },
}
SCSS
$custom: #78a227;
$custom-light: #a3bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#78a227",
  "rgb": {
    "r": 120,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 80.488,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65838,
    "c": 0.1539,
    "h": 127.1
  },
  "luminance": 0.2998
}

Semantic roles & 50–950 ramp

primary
#78A227
secondary
#8464C1
accent
#43E47A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #78A227

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

Preview Lab → · Contrast checker → · Palette generator →

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