#5EA12C#5EA12C

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

Color values

HEX#5EA12C
RGBrgb(94, 161, 44)
HSLhsl(94, 57%, 40%)
HSVhsv(94, 73%, 63%)
CMYKcmyk(41.6%, 0%, 72.7%, 36.9%)
CIE-LABlab(59.93, -41.16, 51.35)
CIE-LCHlch(59.93, 65.81, 128.71°)
OKLaboklab(64.08% -0.115 0.1158)
OKLCHoklch(64.08% 0.163 134.8)
XYZxyz(17.8152, 28.0503, 6.8579)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA12C #6F2CA1
analogous
#98A12C #5EA12C #2CA135
triadic
#5EA12C #2C5EA1 #A12C5E
tetradic
#5EA12C #2C98A1 #6F2CA1 #A1352C
square
#5EA12C #2C98A1 #6F2CA1 #A1352C
split-complementary
#5EA12C #352CA1 #A12C98
monochromatic
#264112 #42711F #5EA12C #7BCB40 #9CD870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5EA12C#FFFFFF#000000##000000
##5EA12C1.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)
#A79418
Deuteranopia (green-blind)
#9E8E37
Tritanopia (blue-blind)
#5D9B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ea12c;
/* rgb */ color: rgb(94, 161, 44);
/* oklch */ color: oklch(64.1% 0.163 134.8);
Tailwind
colors: {
  custom: {
    50: '#91bd6d',
    500: '#5ea12c',
    950: '#000000',
  },
}
SCSS
$custom: #5ea12c;
$custom-light: #91bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea12c",
  "rgb": {
    "r": 94,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 94.359,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64081,
    "c": 0.1632,
    "h": 134.8
  },
  "luminance": 0.28051
}

Semantic roles & 50–950 ramp

primary
#5EA12C
secondary
#9B6ABF
accent
#47E09F
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5EA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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