#5A9E17#5A9E17

#5A9E17 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.172 H 133.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A9E17
RGBrgb(90, 158, 23)
HSLhsl(90, 75%, 35%)
HSVhsv(90, 85%, 62%)
CMYKcmyk(43%, 0%, 85.4%, 38%)
CIE-LABlab(58.68, -42.44, 56.73)
CIE-LCHlch(58.68, 70.85, 126.80°)
OKLaboklab(62.97% -0.1195 0.124)
OKLCHoklch(62.97% 0.172 133.9)
XYZxyz(16.5977, 26.6883, 5.0873)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E17 #5B179E
analogous
#9D9E17 #5A9E17 #179E17
triadic
#5A9E17 #175A9E #9E175A
tetradic
#5A9E17 #179D9E #5B179E #9E1717
square
#5A9E17 #179D9E #5B179E #9E1717
split-complementary
#5A9E17 #17179E #9E179D
monochromatic
#1D3307 #3C690F #5A9E17 #78D31F #97E54B

Accessibility & contrast

On white

3.31
#5A9E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5A9E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9E17
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9E17#FFFFFF#000000##000000
##5A9E171.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#599786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e17;
/* rgb */ color: rgb(90, 158, 23);
/* oklch */ color: oklch(63.0% 0.172 133.9);
Tailwind
colors: {
  custom: {
    50: '#8fbb63',
    500: '#5a9e17',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e17;
$custom-light: #8fbb63;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e17",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 90.222,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6297,
    "c": 0.17225,
    "h": 133.9
  },
  "luminance": 0.26689
}

Semantic roles & 50–950 ramp

primary
#5A9E17
secondary
#894AC6
accent
#37F195
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9E17

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

Preview Lab → · Contrast checker → · Palette generator →

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