#5EB321#5EB321

#5EB321 is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 68.7% C 0.191 H 135.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5EB321
RGBrgb(94, 179, 33)
HSLhsl(95, 69%, 42%)
HSVhsv(95, 82%, 70%)
CMYKcmyk(47.5%, 0%, 81.6%, 29.8%)
CIE-LABlab(65.54, -49.13, 60.33)
CIE-LCHlch(65.54, 77.80, 129.16°)
OKLaboklab(68.66% -0.1372 0.133)
OKLCHoklch(68.66% 0.191 135.9)
XYZxyz(21.0102, 34.7283, 7.0347)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB321 #7621B3
analogous
#A7B321 #5EB321 #21B32D
triadic
#5EB321 #215EB3 #B3215E
tetradic
#5EB321 #21A7B3 #7621B3 #B32D21
square
#5EB321 #21A7B3 #7621B3 #B32D21
split-complementary
#5EB321 #2D21B3 #B321A7
monochromatic
#284C0E #437F17 #5EB321 #7BDA37 #9DE46B

Accessibility & contrast

On white

2.64
#5EB321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#5EB321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB321
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB321#FFFFFF#000000##000000
##5EB3211.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9D33
Tritanopia (blue-blind)
#5AAC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5eb321;
/* rgb */ color: rgb(94, 179, 33);
/* oklch */ color: oklch(68.7% 0.191 135.9);
Tailwind
colors: {
  custom: {
    50: '#94ca6a',
    500: '#5eb321',
    950: '#000000',
  },
}
SCSS
$custom: #5eb321;
$custom-light: #94ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb321",
  "rgb": {
    "r": 94,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 94.932,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68659,
    "c": 0.19106,
    "h": 135.9
  },
  "luminance": 0.3473
}

Semantic roles & 50–950 ramp

primary
#5EB321
secondary
#A066CA
accent
#3CECA2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EB321

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

Preview Lab → · Contrast checker → · Palette generator →

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