#5EC12A#5EC12A

#5EC12A is a light, highly saturated yellow-green. Relative luminance 0.407; OKLCH L 72.3% C 0.203 H 137.5°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#5EC12A
RGBrgb(94, 193, 42)
HSLhsl(99, 64%, 46%)
HSVhsv(99, 78%, 76%)
CMYKcmyk(51.3%, 0%, 78.2%, 24.3%)
CIE-LABlab(69.95, -54.01, 61.82)
CIE-LCHlch(69.95, 82.09, 131.15°)
OKLaboklab(72.31% -0.1498 0.1374)
OKLCHoklch(72.31% 0.203 137.5)
XYZxyz(24.1032, 40.6850, 8.7729)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EC12A #8D2AC1
analogous
#A9C12A #5EC12A #2AC142
triadic
#5EC12A #2A5EC1 #C12A5E
tetradic
#5EC12A #2AA9C1 #8D2AC1 #C1422A
square
#5EC12A #2AA9C1 #8D2AC1 #C1422A
split-complementary
#5EC12A #422AC1 #C12AA9
monochromatic
#2D5C14 #468F1F #5EC12A #7FD94F #A3E482

Accessibility & contrast

On white

2.30
#5EC12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#5EC12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EC12A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EC12A#FFFFFF#000000##000000
##5EC12A1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#57BAA5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #5ec12a;
/* rgb */ color: rgb(94, 193, 42);
/* oklch */ color: oklch(72.3% 0.203 137.5);
Tailwind
colors: {
  custom: {
    50: '#95d470',
    500: '#5ec12a',
    950: '#000000',
  },
}
SCSS
$custom: #5ec12a;
$custom-light: #95d470;
$custom-dark: #000000;
JSON
{
  "hex": "#5ec12a",
  "rgb": {
    "r": 94,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 99.338,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72308,
    "c": 0.20326,
    "h": 137.5
  },
  "luminance": 0.40687
}

Semantic roles & 50–950 ramp

primary
#5EC12A
secondary
#B07ACD
accent
#41E7AE
background
#F9FDF7
surface
#F2FAED
border
#CCD3C8
text
#0E1408
muted
#7E837B

Preview Lab

Preview with #5EC12A

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

Preview Lab → · Contrast checker → · Palette generator →

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