#5DAA21#5DAA21

#5DAA21 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.3% C 0.181 H 135.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5DAA21
RGBrgb(93, 170, 33)
HSLhsl(94, 67%, 40%)
HSVhsv(94, 81%, 67%)
CMYKcmyk(45.3%, 0%, 80.6%, 33.3%)
CIE-LABlab(62.66, -45.88, 57.67)
CIE-LCHlch(62.66, 73.69, 128.50°)
OKLaboklab(66.29% -0.1284 0.1274)
OKLCHoklch(66.29% 0.181 135.2)
XYZxyz(19.1630, 31.1853, 6.4482)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DAA21 #6E21AA
analogous
#A1AA21 #5DAA21 #21AA2A
triadic
#5DAA21 #215DAA #AA215D
tetradic
#5DAA21 #21A1AA #6E21AA #AA2A21
square
#5DAA21 #21A1AA #6E21AA #AA2A21
split-complementary
#5DAA21 #2A21AA #AA21A1
monochromatic
#25430D #417717 #5DAA21 #7AD731 #9BE164

Accessibility & contrast

On white

2.90
#5DAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#5DAA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5DAA21
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5DAA21#FFFFFF#000000##000000
##5DAA211.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C00
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#5BA391
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5daa21;
/* rgb */ color: rgb(93, 170, 33);
/* oklch */ color: oklch(66.3% 0.181 135.2);
Tailwind
colors: {
  custom: {
    50: '#92c469',
    500: '#5daa21',
    950: '#000000',
  },
}
SCSS
$custom: #5daa21;
$custom-light: #92c469;
$custom-dark: #000000;
JSON
{
  "hex": "#5daa21",
  "rgb": {
    "r": 93,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 93.723,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.18089,
    "h": 135.2
  },
  "luminance": 0.31186
}

Semantic roles & 50–950 ramp

primary
#5DAA21
secondary
#9A61C6
accent
#3DEA9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5DAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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