#5EA12A#5EA12A

#5EA12A is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.1% C 0.164 H 134.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5EA12A
RGBrgb(94, 161, 42)
HSLhsl(94, 59%, 40%)
HSVhsv(94, 74%, 63%)
CMYKcmyk(41.6%, 0%, 73.9%, 36.9%)
CIE-LABlab(59.92, -41.30, 52.08)
CIE-LCHlch(59.92, 66.46, 128.41°)
OKLaboklab(64.07% -0.1155 0.117)
OKLCHoklch(64.07% 0.164 134.6)
XYZxyz(17.7785, 28.0356, 6.6647)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA12A #6D2AA1
analogous
#99A12A #5EA12A #2AA132
triadic
#5EA12A #2A5EA1 #A12A5E
tetradic
#5EA12A #2A99A1 #6D2AA1 #A1322A
square
#5EA12A #2A99A1 #6D2AA1 #A1322A
split-complementary
#5EA12A #322AA1 #A12A99
monochromatic
#254011 #42701D #5EA12A #7BCC3C #9CD96D

Accessibility & contrast

On white

3.18
#5EA12A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5EA12A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5EA12A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA12A#FFFFFF#000000##000000
##5EA12A1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79414
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#5D9B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ea12a;
/* rgb */ color: rgb(94, 161, 42);
/* oklch */ color: oklch(64.1% 0.164 134.6);
Tailwind
colors: {
  custom: {
    50: '#91bd6c',
    500: '#5ea12a',
    950: '#000000',
  },
}
SCSS
$custom: #5ea12a;
$custom-light: #91bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea12a",
  "rgb": {
    "r": 94,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 93.782,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64066,
    "c": 0.16444,
    "h": 134.6
  },
  "luminance": 0.28037
}

Semantic roles & 50–950 ramp

primary
#5EA12A
secondary
#9967C0
accent
#46E29E
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5EA12A

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

Preview Lab → · Contrast checker → · Palette generator →

#5EA12A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva