#5AB117#5AB117

#5AB117 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 67.9% C 0.194 H 136.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5AB117
RGBrgb(90, 177, 23)
HSLhsl(94, 77%, 39%)
HSVhsv(94, 87%, 69%)
CMYKcmyk(49.2%, 0%, 87%, 30.6%)
CIE-LABlab(64.71, -50.02, 61.99)
CIE-LCHlch(64.71, 79.65, 128.90°)
OKLaboklab(67.92% -0.1398 0.1352)
OKLCHoklch(67.92% 0.194 136)
XYZxyz(20.0927, 33.6784, 6.2523)
Luminance0.3368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB117 #6E17B1
analogous
#A7B117 #5AB117 #17B121
triadic
#5AB117 #175AB1 #B1175A
tetradic
#5AB117 #17A7B1 #6E17B1 #B12117
square
#5AB117 #17A7B1 #6E17B1 #B12117
split-complementary
#5AB117 #2117B1 #B117A7
monochromatic
#234509 #3E7B10 #5AB117 #76E223 #98E959

Accessibility & contrast

On white

2.71
#5AB117 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#5AB117 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB117
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB117#FFFFFF#000000##000000
##5AB1171.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A100
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#56AA96
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab117;
/* rgb */ color: rgb(90, 177, 23);
/* oklch */ color: oklch(67.9% 0.194 136.0);
Tailwind
colors: {
  custom: {
    50: '#92c966',
    500: '#5ab117',
    950: '#000000',
  },
}
SCSS
$custom: #5ab117;
$custom-light: #92c966;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab117",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 23
  },
  "hsl": {
    "h": 93.896,
    "s": 77,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67919,
    "c": 0.19445,
    "h": 136
  },
  "luminance": 0.3368
}

Semantic roles & 50–950 ramp

primary
#5AB117
secondary
#9A57CD
accent
#34F4A0
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB117

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

Preview Lab → · Contrast checker → · Palette generator →

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