#5EB12D#5EB12D

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

Color values

HEX#5EB12D
RGBrgb(94, 177, 45)
HSLhsl(98, 59%, 44%)
HSVhsv(98, 75%, 69%)
CMYKcmyk(46.9%, 0%, 74.6%, 30.6%)
CIE-LABlab(64.97, -47.65, 56.01)
CIE-LCHlch(64.97, 73.54, 130.39°)
OKLaboklab(68.22% -0.1325 0.1257)
OKLCHoklch(68.22% 0.183 136.5)
XYZxyz(20.8113, 34.0121, 7.9505)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB12D #802DB1
analogous
#A0B12D #5EB12D #2DB13E
triadic
#5EB12D #2D5EB1 #B12D5E
tetradic
#5EB12D #2DA0B1 #802DB1 #B13E2D
square
#5EB12D #2DA0B1 #802DB1 #B13E2D
split-complementary
#5EB12D #3E2DB1 #B12DA0
monochromatic
#2A4F14 #448021 #5EB12D #7CD14A #A0DD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5EB12D#FFFFFF#000000##000000
##5EB12D1.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)
#B7A212
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#5AAA98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5eb12d;
/* rgb */ color: rgb(94, 177, 45);
/* oklch */ color: oklch(68.2% 0.183 136.5);
Tailwind
colors: {
  custom: {
    50: '#93c96f',
    500: '#5eb12d',
    950: '#000000',
  },
}
SCSS
$custom: #5eb12d;
$custom-light: #93c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb12d",
  "rgb": {
    "r": 94,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 97.727,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68215,
    "c": 0.18263,
    "h": 136.5
  },
  "luminance": 0.34013
}

Semantic roles & 50–950 ramp

primary
#5EB12D
secondary
#A774C6
accent
#45E3A8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5EB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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