#5BA017#5BA017

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

Color values

HEX#5BA017
RGBrgb(91, 160, 23)
HSLhsl(90, 75%, 36%)
HSVhsv(90, 86%, 63%)
CMYKcmyk(43.1%, 0%, 85.6%, 37.3%)
CIE-LABlab(59.37, -42.93, 57.35)
CIE-LCHlch(59.37, 71.64, 126.82°)
OKLaboklab(63.54% -0.1209 0.1253)
OKLCHoklch(63.54% 0.174 134)
XYZxyz(17.0395, 27.4267, 5.2065)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA017 #5C17A0
analogous
#9FA017 #5BA017 #17A018
triadic
#5BA017 #175BA0 #A0175B
tetradic
#5BA017 #179FA0 #5C17A0 #A01817
square
#5BA017 #179FA0 #5C17A0 #A01817
split-complementary
#5BA017 #1817A0 #A0179F
monochromatic
#1E3508 #3D6A0F #5BA017 #79D61F #98E54C

Accessibility & contrast

On white

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

On black

6.49
#5BA017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA017
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA017#FFFFFF#000000##000000
##5BA0171.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79200
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ba017;
/* rgb */ color: rgb(91, 160, 23);
/* oklch */ color: oklch(63.5% 0.174 134.0);
Tailwind
colors: {
  custom: {
    50: '#90bc63',
    500: '#5ba017',
    950: '#000000',
  },
}
SCSS
$custom: #5ba017;
$custom-light: #90bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba017",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 90.219,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63543,
    "c": 0.17412,
    "h": 134
  },
  "luminance": 0.27428
}

Semantic roles & 50–950 ramp

primary
#5BA017
secondary
#8A4CC7
accent
#36F195
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5BA017

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

Preview Lab → · Contrast checker → · Palette generator →

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