#5EB126#5EB126

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

Color values

HEX#5EB126
RGBrgb(94, 177, 38)
HSLhsl(96, 65%, 42%)
HSVhsv(96, 79%, 69%)
CMYKcmyk(46.9%, 0%, 78.5%, 30.6%)
CIE-LABlab(64.93, -48.08, 58.30)
CIE-LCHlch(64.93, 75.57, 129.52°)
OKLaboklab(68.17% -0.1341 0.1295)
OKLCHoklch(68.17% 0.186 136)
XYZxyz(20.6875, 33.9626, 7.2987)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB126 #7926B1
analogous
#A4B126 #5EB126 #26B133
triadic
#5EB126 #265EB1 #B1265E
tetradic
#5EB126 #26A4B1 #7926B1 #B13326
square
#5EB126 #26A4B1 #7926B1 #B13326
split-complementary
#5EB126 #3326B1 #B126A4
monochromatic
#284C10 #437F1B #5EB126 #7BD63F #9EE071

Accessibility & contrast

On white

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

On black

7.79
#5EB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB126
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB126#FFFFFF#000000##000000
##5EB1261.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#5AAA97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5eb126;
/* rgb */ color: rgb(94, 177, 38);
/* oklch */ color: oklch(68.2% 0.186 136.0);
Tailwind
colors: {
  custom: {
    50: '#93c96c',
    500: '#5eb126',
    950: '#000000',
  },
}
SCSS
$custom: #5eb126;
$custom-light: #93c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb126",
  "rgb": {
    "r": 94,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 95.827,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6817,
    "c": 0.18638,
    "h": 136
  },
  "luminance": 0.33964
}

Semantic roles & 50–950 ramp

primary
#5EB126
secondary
#A26BC7
accent
#40E8A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EB126

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

Preview Lab → · Contrast checker → · Palette generator →

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