#5EA12D#5EA12D

#5EA12D is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.163 H 134.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5EA12D
RGBrgb(94, 161, 45)
HSLhsl(95, 56%, 40%)
HSVhsv(95, 72%, 63%)
CMYKcmyk(41.6%, 0%, 72%, 36.9%)
CIE-LABlab(59.94, -41.08, 50.97)
CIE-LCHlch(59.94, 65.47, 128.87°)
OKLaboklab(64.09% -0.1147 0.1152)
OKLCHoklch(64.09% 0.163 134.9)
XYZxyz(17.8342, 28.0579, 6.9581)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA12D #702DA1
analogous
#98A12D #5EA12D #2DA136
triadic
#5EA12D #2D5EA1 #A12D5E
tetradic
#5EA12D #2D98A1 #702DA1 #A1362D
square
#5EA12D #2D98A1 #702DA1 #A1362D
split-complementary
#5EA12D #362DA1 #A12D98
monochromatic
#264112 #427120 #5EA12D #7BCA41 #9CD771

Accessibility & contrast

On white

3.18
#5EA12D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#5EA12D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5EA12D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA12D#FFFFFF#000000##000000
##5EA12D1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79419
Deuteranopia (green-blind)
#9E8E38
Tritanopia (blue-blind)
#5D9B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ea12d;
/* rgb */ color: rgb(94, 161, 45);
/* oklch */ color: oklch(64.1% 0.163 134.9);
Tailwind
colors: {
  custom: {
    50: '#91bd6d',
    500: '#5ea12d',
    950: '#000000',
  },
}
SCSS
$custom: #5ea12d;
$custom-light: #91bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea12d",
  "rgb": {
    "r": 94,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 94.655,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64089,
    "c": 0.16256,
    "h": 134.9
  },
  "luminance": 0.28059
}

Semantic roles & 50–950 ramp

primary
#5EA12D
secondary
#9B6BBF
accent
#48E0A0
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5EA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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