#5EBD21#5EBD21

#5EBD21 is a light, highly saturated yellow-green. Relative luminance 0.389; OKLCH L 71.2% C 0.203 H 136.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#5EBD21
RGBrgb(94, 189, 33)
HSLhsl(97, 70%, 44%)
HSVhsv(97, 83%, 74%)
CMYKcmyk(50.3%, 0%, 82.5%, 25.9%)
CIE-LABlab(68.67, -52.97, 63.17)
CIE-LCHlch(68.67, 82.44, 129.98°)
OKLaboklab(71.23% -0.1475 0.139)
OKLCHoklch(71.23% 0.203 136.7)
XYZxyz(23.0875, 38.8830, 7.7271)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EBD21 #8021BD
analogous
#ACBD21 #5EBD21 #21BD32
triadic
#5EBD21 #215EBD #BD215E
tetradic
#5EBD21 #21ACBD #8021BD #BD3221
square
#5EBD21 #21ACBD #8021BD #BD3221
split-complementary
#5EBD21 #3221BD #BD21AC
monochromatic
#2A550F #448918 #5EBD21 #7CDD3E #A0E672

Accessibility & contrast

On white

2.39
#5EBD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#5EBD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EBD21
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EBD21#FFFFFF#000000##000000
##5EBD211.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AC00
Deuteranopia (green-blind)
#B7A535
Tritanopia (blue-blind)
#59B6A1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #5ebd21;
/* rgb */ color: rgb(94, 189, 33);
/* oklch */ color: oklch(71.2% 0.203 136.7);
Tailwind
colors: {
  custom: {
    50: '#95d26c',
    500: '#5ebd21',
    950: '#000000',
  },
}
SCSS
$custom: #5ebd21;
$custom-light: #95d26c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ebd21",
  "rgb": {
    "r": 94,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 96.538,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71234,
    "c": 0.20263,
    "h": 136.7
  },
  "luminance": 0.38885
}

Semantic roles & 50–950 ramp

primary
#5EBD21
secondary
#A76DCD
accent
#3BEDA7
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1408
muted
#7E827A

Preview Lab

Preview with #5EBD21

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

Preview Lab → · Contrast checker → · Palette generator →

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