#5EB12A#5EB12A

#5EB12A is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.2% C 0.184 H 136.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5EB12A
RGBrgb(94, 177, 42)
HSLhsl(97, 62%, 43%)
HSVhsv(97, 76%, 69%)
CMYKcmyk(46.9%, 0%, 76.3%, 30.6%)
CIE-LABlab(64.95, -47.85, 57.02)
CIE-LCHlch(64.95, 74.44, 130.00°)
OKLaboklab(68.19% -0.1332 0.1274)
OKLCHoklch(68.19% 0.184 136.3)
XYZxyz(20.7556, 33.9898, 7.6570)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB12A #7D2AB1
analogous
#A1B12A #5EB12A #2AB139
triadic
#5EB12A #2A5EB1 #B12A5E
tetradic
#5EB12A #2AA1B1 #7D2AB1 #B1392A
square
#5EB12A #2AA1B1 #7D2AB1 #B1392A
split-complementary
#5EB12A #392AB1 #B12AA1
monochromatic
#294E13 #44801E #5EB12A #7CD345 #9FDF77

Accessibility & contrast

On white

2.69
#5EB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#5EB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB12A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB12A#FFFFFF#000000##000000
##5EB12A1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A209
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#5AAA97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5eb12a;
/* rgb */ color: rgb(94, 177, 42);
/* oklch */ color: oklch(68.2% 0.184 136.3);
Tailwind
colors: {
  custom: {
    50: '#93c96e',
    500: '#5eb12a',
    950: '#000000',
  },
}
SCSS
$custom: #5eb12a;
$custom-light: #93c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb12a",
  "rgb": {
    "r": 94,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 96.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68195,
    "c": 0.1843,
    "h": 136.3
  },
  "luminance": 0.33991
}

Semantic roles & 50–950 ramp

primary
#5EB12A
secondary
#A570C6
accent
#43E5A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5EB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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