#5DAB31#5DAB31

#5DAB31 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 66.7% C 0.173 H 136.5°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5DAB31
RGBrgb(93, 171, 49)
HSLhsl(98, 55%, 43%)
HSVhsv(98, 71%, 67%)
CMYKcmyk(45.6%, 0%, 71.3%, 32.9%)
CIE-LABlab(63.07, -45.27, 52.62)
CIE-LCHlch(63.07, 69.42, 130.71°)
OKLaboklab(66.65% -0.1257 0.1192)
OKLCHoklch(66.65% 0.173 136.5)
XYZxyz(19.6309, 31.6735, 7.9843)
Luminance0.3167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5DAB31 #7F31AB
analogous
#9AAB31 #5DAB31 #31AB42
triadic
#5DAB31 #315DAB #AB315D
tetradic
#5DAB31 #319AAB #7F31AB #AB4231
square
#5DAB31 #319AAB #7F31AB #AB4231
split-complementary
#5DAB31 #4231AB #AB319A
monochromatic
#294C16 #437B23 #5DAB31 #7BCC4D #9EDA7D

Accessibility & contrast

On white

2.86
#5DAB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#5DAB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5DAB31
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5DAB31#FFFFFF#000000##000000
##5DAB311.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#A6963D
Tritanopia (blue-blind)
#59A593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5dab31;
/* rgb */ color: rgb(93, 171, 49);
/* oklch */ color: oklch(66.7% 0.173 136.5);
Tailwind
colors: {
  custom: {
    50: '#92c470',
    500: '#5dab31',
    950: '#000000',
  },
}
SCSS
$custom: #5dab31;
$custom-light: #92c470;
$custom-dark: #000000;
JSON
{
  "hex": "#5dab31",
  "rgb": {
    "r": 93,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 98.361,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66652,
    "c": 0.17323,
    "h": 136.5
  },
  "luminance": 0.31675
}

Semantic roles & 50–950 ramp

primary
#5DAB31
secondary
#A775C2
accent
#49DFA9
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5DAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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