#5B9E17#5B9E17

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

Color values

HEX#5B9E17
RGBrgb(91, 158, 23)
HSLhsl(90, 75%, 35%)
HSVhsv(90, 85%, 62%)
CMYKcmyk(42.4%, 0%, 85.4%, 38%)
CIE-LABlab(58.73, -42.10, 56.79)
CIE-LCHlch(58.73, 70.69, 126.55°)
OKLaboklab(63.02% -0.1187 0.1241)
OKLCHoklch(63.02% 0.172 133.7)
XYZxyz(16.6956, 26.7388, 5.0918)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E17 #5A179E
analogous
#9E9D17 #5B9E17 #179E17
triadic
#5B9E17 #175B9E #9E175B
tetradic
#5B9E17 #179E9D #5A179E #9E1717
square
#5B9E17 #179E9D #5A179E #9E1717
split-complementary
#5B9E17 #17179E #9D179E
monochromatic
#1D3307 #3C690F #5B9E17 #7AD31F #98E54B

Accessibility & contrast

On white

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

On black

6.35
#5B9E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E17
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E17#FFFFFF#000000##000000
##5B9E171.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8B29
Tritanopia (blue-blind)
#5B9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9e17;
/* rgb */ color: rgb(91, 158, 23);
/* oklch */ color: oklch(63.0% 0.172 133.7);
Tailwind
colors: {
  custom: {
    50: '#90bb63',
    500: '#5b9e17',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e17;
$custom-light: #90bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e17",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 89.778,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63022,
    "c": 0.17174,
    "h": 133.7
  },
  "luminance": 0.2674
}

Semantic roles & 50–950 ramp

primary
#5B9E17
secondary
#884AC6
accent
#37F193
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9E17

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

Preview Lab → · Contrast checker → · Palette generator →

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