#5AA017#5AA017

#5AA017 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.5% C 0.175 H 134.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5AA017
RGBrgb(90, 160, 23)
HSLhsl(91, 75%, 36%)
HSVhsv(91, 86%, 63%)
CMYKcmyk(43.7%, 0%, 85.6%, 37.3%)
CIE-LABlab(59.32, -43.27, 57.29)
CIE-LCHlch(59.32, 71.80, 127.06°)
OKLaboklab(63.49% -0.1217 0.1252)
OKLCHoklch(63.49% 0.175 134.2)
XYZxyz(16.9416, 27.3762, 5.2019)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA017 #5D17A0
analogous
#9EA017 #5AA017 #17A019
triadic
#5AA017 #175AA0 #A0175A
tetradic
#5AA017 #179EA0 #5D17A0 #A01917
square
#5AA017 #179EA0 #5D17A0 #A01917
split-complementary
#5AA017 #1917A0 #A0179E
monochromatic
#1E3508 #3C6A0F #5AA017 #78D61F #97E54C

Accessibility & contrast

On white

3.24
#5AA017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5AA017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA017
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA017#FFFFFF#000000##000000
##5AA0171.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#599988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5aa017;
/* rgb */ color: rgb(90, 160, 23);
/* oklch */ color: oklch(63.5% 0.175 134.2);
Tailwind
colors: {
  custom: {
    50: '#8fbc63',
    500: '#5aa017',
    950: '#000000',
  },
}
SCSS
$custom: #5aa017;
$custom-light: #8fbc63;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa017",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 90.657,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63492,
    "c": 0.17464,
    "h": 134.2
  },
  "luminance": 0.27377
}

Semantic roles & 50–950 ramp

primary
#5AA017
secondary
#8B4CC7
accent
#36F196
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5AA017

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

Preview Lab → · Contrast checker → · Palette generator →

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