#5EA42A#5EA42A

#5EA42A is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 64.8% C 0.168 H 135.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5EA42A
RGBrgb(94, 164, 42)
HSLhsl(94, 59%, 40%)
HSVhsv(94, 74%, 64%)
CMYKcmyk(42.7%, 0%, 74.4%, 35.7%)
CIE-LABlab(60.87, -42.56, 53.02)
CIE-LCHlch(60.87, 67.99, 128.75°)
OKLaboklab(64.84% -0.1189 0.119)
OKLCHoklch(64.84% 0.168 135)
XYZxyz(18.3091, 29.0968, 6.8415)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA42A #702AA4
analogous
#9BA42A #5EA42A #2AA433
triadic
#5EA42A #2A5EA4 #A42A5E
tetradic
#5EA42A #2A9BA4 #702AA4 #A4332A
square
#5EA42A #2A9BA4 #702AA4 #A4332A
split-complementary
#5EA42A #332AA4 #A42A9B
monochromatic
#264311 #42731E #5EA42A #7BCD3E #9CDA6E

Accessibility & contrast

On white

3.08
#5EA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#5EA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5EA42A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA42A#FFFFFF#000000##000000
##5EA42A1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9612
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#5C9E8C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ea42a;
/* rgb */ color: rgb(94, 164, 42);
/* oklch */ color: oklch(64.8% 0.168 135.0);
Tailwind
colors: {
  custom: {
    50: '#92bf6c',
    500: '#5ea42a',
    950: '#000000',
  },
}
SCSS
$custom: #5ea42a;
$custom-light: #92bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea42a",
  "rgb": {
    "r": 94,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 94.426,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64841,
    "c": 0.16824,
    "h": 135
  },
  "luminance": 0.29098
}

Semantic roles & 50–950 ramp

primary
#5EA42A
secondary
#9B69C1
accent
#45E29F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5EA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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