#5EA22C#5EA22C

#5EA22C is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.3% C 0.164 H 134.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5EA22C
RGBrgb(94, 162, 44)
HSLhsl(95, 57%, 40%)
HSVhsv(95, 73%, 64%)
CMYKcmyk(42%, 0%, 72.8%, 36.5%)
CIE-LABlab(60.25, -41.58, 51.66)
CIE-LCHlch(60.25, 66.32, 128.83°)
OKLaboklab(64.34% -0.1161 0.1165)
OKLCHoklch(64.34% 0.164 134.9)
XYZxyz(17.9907, 28.4012, 6.9164)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA22C #702CA2
analogous
#99A22C #5EA22C #2CA235
triadic
#5EA22C #2C5EA2 #A22C5E
tetradic
#5EA22C #2C99A2 #702CA2 #A2352C
square
#5EA22C #2C99A2 #702CA2 #A2352C
split-complementary
#5EA22C #352CA2 #A22C99
monochromatic
#264212 #42721F #5EA22C #7BCB40 #9CD870

Accessibility & contrast

On white

3.14
#5EA22C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#5EA22C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5EA22C
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA22C#FFFFFF#000000##000000
##5EA22C1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89517
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#5D9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ea22c;
/* rgb */ color: rgb(94, 162, 44);
/* oklch */ color: oklch(64.3% 0.164 134.9);
Tailwind
colors: {
  custom: {
    50: '#91be6d',
    500: '#5ea22c',
    950: '#000000',
  },
}
SCSS
$custom: #5ea22c;
$custom-light: #91be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea22c",
  "rgb": {
    "r": 94,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 94.576,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64339,
    "c": 0.16448,
    "h": 134.9
  },
  "luminance": 0.28402
}

Semantic roles & 50–950 ramp

primary
#5EA22C
secondary
#9B6ABF
accent
#47E1A0
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5EA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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