#5AB417#5AB417

#5AB417 is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 68.7% C 0.198 H 136.2°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5AB417
RGBrgb(90, 180, 23)
HSLhsl(94, 77%, 40%)
HSVhsv(94, 87%, 71%)
CMYKcmyk(50%, 0%, 87.2%, 29.4%)
CIE-LABlab(65.65, -51.16, 62.81)
CIE-LCHlch(65.65, 81.01, 129.17°)
OKLaboklab(68.7% -0.1428 0.1369)
OKLCHoklch(68.7% 0.198 136.2)
XYZxyz(20.6918, 34.8766, 6.4520)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB417 #7117B4
analogous
#A9B417 #5AB417 #17B423
triadic
#5AB417 #175AB4 #B4175A
tetradic
#5AB417 #17A9B4 #7117B4 #B42317
square
#5AB417 #17A9B4 #7117B4 #B42317
split-complementary
#5AB417 #2317B4 #B417A9
monochromatic
#244709 #3F7E10 #5AB417 #76E325 #98EA5B

Accessibility & contrast

On white

2.63
#5AB417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#5AB417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB417
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB417#FFFFFF#000000##000000
##5AB4171.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#AF9D2D
Tritanopia (blue-blind)
#55AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab417;
/* rgb */ color: rgb(90, 180, 23);
/* oklch */ color: oklch(68.7% 0.198 136.2);
Tailwind
colors: {
  custom: {
    50: '#92cb67',
    500: '#5ab417',
    950: '#000000',
  },
}
SCSS
$custom: #5ab417;
$custom-light: #92cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab417",
  "rgb": {
    "r": 90,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 94.395,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68698,
    "c": 0.19786,
    "h": 136.2
  },
  "luminance": 0.34878
}

Semantic roles & 50–950 ramp

primary
#5AB417
secondary
#9C59CE
accent
#34F4A2
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB417

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

Preview Lab → · Contrast checker → · Palette generator →

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