#5EB021#5EB021

#5EB021 is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 67.9% C 0.188 H 135.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5EB021
RGBrgb(94, 176, 33)
HSLhsl(94, 68%, 41%)
HSVhsv(94, 81%, 69%)
CMYKcmyk(46.6%, 0%, 81.3%, 31%)
CIE-LABlab(64.59, -47.95, 59.47)
CIE-LCHlch(64.59, 76.39, 128.88°)
OKLaboklab(67.88% -0.134 0.1312)
OKLCHoklch(67.88% 0.188 135.6)
XYZxyz(20.4154, 33.5389, 6.8364)
Luminance0.3354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EB021 #7321B0
analogous
#A5B021 #5EB021 #21B02C
triadic
#5EB021 #215EB0 #B0215E
tetradic
#5EB021 #21A5B0 #7321B0 #B02C21
square
#5EB021 #21A5B0 #7321B0 #B02C21
split-complementary
#5EB021 #2C21B0 #B021A5
monochromatic
#27490E #427C17 #5EB021 #7BD935 #9DE369

Accessibility & contrast

On white

2.72
#5EB021 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#5EB021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EB021
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EB021#FFFFFF#000000##000000
##5EB0211.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#5BA996
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5eb021;
/* rgb */ color: rgb(94, 176, 33);
/* oklch */ color: oklch(67.9% 0.188 135.6);
Tailwind
colors: {
  custom: {
    50: '#93c86a',
    500: '#5eb021',
    950: '#000000',
  },
}
SCSS
$custom: #5eb021;
$custom-light: #93c86a;
$custom-dark: #000000;
JSON
{
  "hex": "#5eb021",
  "rgb": {
    "r": 94,
    "g": 176,
    "b": 33
  },
  "hsl": {
    "h": 94.406,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67885,
    "c": 0.18753,
    "h": 135.6
  },
  "luminance": 0.3354
}

Semantic roles & 50–950 ramp

primary
#5EB021
secondary
#9E64C8
accent
#3DEBA1
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5EB021

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

Preview Lab → · Contrast checker → · Palette generator →

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