#5DAA31#5DAA31

#5DAA31 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.4% C 0.172 H 136.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5DAA31
RGBrgb(93, 170, 49)
HSLhsl(98, 55%, 43%)
HSVhsv(98, 71%, 67%)
CMYKcmyk(45.3%, 0%, 71.2%, 33.3%)
CIE-LABlab(62.76, -44.87, 52.30)
CIE-LCHlch(62.76, 68.90, 130.63°)
OKLaboklab(66.39% -0.1246 0.1185)
OKLCHoklch(66.39% 0.172 136.4)
XYZxyz(19.4428, 31.2972, 7.9216)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DAA31 #7E31AA
analogous
#99AA31 #5DAA31 #31AA42
triadic
#5DAA31 #315DAA #AA315D
tetradic
#5DAA31 #3199AA #7E31AA #AA4231
square
#5DAA31 #3199AA #7E31AA #AA4231
split-complementary
#5DAA31 #4231AA #AA3199
monochromatic
#294B16 #437A23 #5DAA31 #7BCC4D #9ED97C

Accessibility & contrast

On white

2.89
#5DAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#5DAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5DAA31
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5DAA31#FFFFFF#000000##000000
##5DAA311.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#A6953C
Tritanopia (blue-blind)
#5AA492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5daa31;
/* rgb */ color: rgb(93, 170, 49);
/* oklch */ color: oklch(66.4% 0.172 136.4);
Tailwind
colors: {
  custom: {
    50: '#91c470',
    500: '#5daa31',
    950: '#000000',
  },
}
SCSS
$custom: #5daa31;
$custom-light: #91c470;
$custom-dark: #000000;
JSON
{
  "hex": "#5daa31",
  "rgb": {
    "r": 93,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 98.182,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66394,
    "c": 0.17197,
    "h": 136.4
  },
  "luminance": 0.31298
}

Semantic roles & 50–950 ramp

primary
#5DAA31
secondary
#A675C2
accent
#49DFA8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5DAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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