#5EB12C#5EB12C

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

Color values

HEX#5EB12C
RGBrgb(94, 177, 44)
HSLhsl(97, 60%, 43%)
HSVhsv(97, 75%, 69%)
CMYKcmyk(46.9%, 0%, 75.1%, 30.6%)
CIE-LABlab(64.97, -47.72, 56.36)
CIE-LCHlch(64.97, 73.85, 130.26°)
OKLaboklab(68.21% -0.1327 0.1263)
OKLCHoklch(68.21% 0.183 136.4)
XYZxyz(20.7923, 34.0045, 7.8503)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB12C #7F2CB1
analogous
#A0B12C #5EB12C #2CB13D
triadic
#5EB12C #2C5EB1 #B12C5E
tetradic
#5EB12C #2CA0B1 #7F2CB1 #B13D2C
square
#5EB12C #2CA0B1 #7F2CB1 #B13D2C
split-complementary
#5EB12C #3D2CB1 #B12CA0
monochromatic
#2A4F14 #448020 #5EB12C #7CD249 #9FDE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5eb12c;
/* rgb */ color: rgb(94, 177, 44);
/* oklch */ color: oklch(68.2% 0.183 136.4);
Tailwind
colors: {
  custom: {
    50: '#93c96f',
    500: '#5eb12c',
    950: '#000000',
  },
}
SCSS
$custom: #5eb12c;
$custom-light: #93c96f;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb12c",
  "rgb": {
    "r": 94,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 97.444,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.68208,
    "c": 0.1832,
    "h": 136.4
  },
  "luminance": 0.34006
}

Semantic roles & 50–950 ramp

primary
#5EB12C
secondary
#A773C6
accent
#44E3A8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5EB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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