#5EB42A#5EB42A

#5EB42A is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.0% C 0.188 H 136.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5EB42A
RGBrgb(94, 180, 42)
HSLhsl(97, 62%, 44%)
HSVhsv(97, 77%, 71%)
CMYKcmyk(47.8%, 0%, 76.7%, 29.4%)
CIE-LABlab(65.89, -49.03, 57.93)
CIE-LCHlch(65.89, 75.90, 130.24°)
OKLaboklab(68.97% -0.1364 0.1293)
OKLCHoklch(68.97% 0.188 136.5)
XYZxyz(21.3547, 35.1879, 7.8567)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB42A #802AB4
analogous
#A3B42A #5EB42A #2AB43B
triadic
#5EB42A #2A5EB4 #B42A5E
tetradic
#5EB42A #2AA3B4 #802AB4 #B43B2A
square
#5EB42A #2AA3B4 #802AB4 #B43B2A
split-complementary
#5EB42A #3B2AB4 #B42AA3
monochromatic
#2A5113 #44821E #5EB42A #7CD447 #A0E079

Accessibility & contrast

On white

2.61
#5EB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#5EB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB42A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB42A#FFFFFF#000000##000000
##5EB42A1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA506
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#5AAD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5eb42a;
/* rgb */ color: rgb(94, 180, 42);
/* oklch */ color: oklch(69.0% 0.188 136.5);
Tailwind
colors: {
  custom: {
    50: '#94cb6e',
    500: '#5eb42a',
    950: '#000000',
  },
}
SCSS
$custom: #5eb42a;
$custom-light: #94cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb42a",
  "rgb": {
    "r": 94,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 97.391,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68967,
    "c": 0.18792,
    "h": 136.5
  },
  "luminance": 0.35189
}

Semantic roles & 50–950 ramp

primary
#5EB42A
secondary
#A772C8
accent
#43E5A8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5EB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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