#5AB317#5AB317

#5AB317 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.4% C 0.197 H 136.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5AB317
RGBrgb(90, 179, 23)
HSLhsl(94, 77%, 40%)
HSVhsv(94, 87%, 70%)
CMYKcmyk(49.7%, 0%, 87.2%, 29.8%)
CIE-LABlab(65.34, -50.78, 62.54)
CIE-LCHlch(65.34, 80.56, 129.08°)
OKLaboklab(68.44% -0.1418 0.1363)
OKLCHoklch(68.44% 0.197 136.1)
XYZxyz(20.4906, 34.4743, 6.3849)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB317 #7017B3
analogous
#A8B317 #5AB317 #17B322
triadic
#5AB317 #175AB3 #B3175A
tetradic
#5AB317 #17A8B3 #7017B3 #B32217
square
#5AB317 #17A8B3 #7017B3 #B32217
split-complementary
#5AB317 #2217B3 #B317A8
monochromatic
#234709 #3F7D10 #5AB317 #76E324 #98EA5B

Accessibility & contrast

On white

2.66
#5AB317 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#5AB317 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB317
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB317#FFFFFF#000000##000000
##5AB3171.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA300
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#56AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab317;
/* rgb */ color: rgb(90, 179, 23);
/* oklch */ color: oklch(68.4% 0.197 136.1);
Tailwind
colors: {
  custom: {
    50: '#92ca66',
    500: '#5ab317',
    950: '#000000',
  },
}
SCSS
$custom: #5ab317;
$custom-light: #92ca66;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab317",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 94.231,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68438,
    "c": 0.19673,
    "h": 136.1
  },
  "luminance": 0.34476
}

Semantic roles & 50–950 ramp

primary
#5AB317
secondary
#9B58CD
accent
#34F4A1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB317

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

Preview Lab → · Contrast checker → · Palette generator →

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