#5DB221#5DB221

#5DB221 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.4% C 0.190 H 136.0°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5DB221
RGBrgb(93, 178, 33)
HSLhsl(95, 69%, 41%)
HSVhsv(95, 81%, 70%)
CMYKcmyk(47.8%, 0%, 81.5%, 30.2%)
CIE-LABlab(65.18, -49.05, 59.99)
CIE-LCHlch(65.18, 77.49, 129.27°)
OKLaboklab(68.36% -0.1369 0.1323)
OKLCHoklch(68.36% 0.19 136)
XYZxyz(20.7086, 34.2764, 6.9633)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DB221 #7621B2
analogous
#A6B221 #5DB221 #21B22D
triadic
#5DB221 #215DB2 #B2215D
tetradic
#5DB221 #21A6B2 #7621B2 #B22D21
square
#5DB221 #21A6B2 #7621B2 #B22D21
split-complementary
#5DB221 #2D21B2 #B221A6
monochromatic
#274B0E #427E17 #5DB221 #7ADA36 #9CE36A

Accessibility & contrast

On white

2.67
#5DB221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#5DB221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5DB221
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5DB221#FFFFFF#000000##000000
##5DB2211.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#AD9C33
Tritanopia (blue-blind)
#59AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5db221;
/* rgb */ color: rgb(93, 178, 33);
/* oklch */ color: oklch(68.4% 0.190 136.0);
Tailwind
colors: {
  custom: {
    50: '#93ca6a',
    500: '#5db221',
    950: '#000000',
  },
}
SCSS
$custom: #5db221;
$custom-light: #93ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5db221",
  "rgb": {
    "r": 93,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 95.172,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68355,
    "c": 0.19038,
    "h": 136
  },
  "luminance": 0.34278
}

Semantic roles & 50–950 ramp

primary
#5DB221
secondary
#A066C9
accent
#3CECA3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5DB221

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

Preview Lab → · Contrast checker → · Palette generator →

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