#5BAB2C#5BAB2C

#5BAB2C is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.177 H 136.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5BAB2C
RGBrgb(91, 171, 44)
HSLhsl(98, 59%, 42%)
HSVhsv(98, 74%, 67%)
CMYKcmyk(46.8%, 0%, 74.3%, 32.9%)
CIE-LABlab(62.95, -46.27, 54.33)
CIE-LCHlch(62.95, 71.36, 130.42°)
OKLaboklab(66.52% -0.1286 0.1221)
OKLCHoklch(66.52% 0.177 136.5)
XYZxyz(19.3314, 31.5306, 7.4498)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAB2C #7C2CAB
analogous
#9BAB2C #5BAB2C #2CAB3C
triadic
#5BAB2C #2C5BAB #AB2C5B
tetradic
#5BAB2C #2C9BAB #7C2CAB #AB3C2C
square
#5BAB2C #2C9BAB #7C2CAB #AB3C2C
split-complementary
#5BAB2C #3C2CAB #AB2C9B
monochromatic
#274A13 #417A1F #5BAB2C #78CF45 #9BDC76

Accessibility & contrast

On white

2.87
#5BAB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#5BAB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAB2C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAB2C#FFFFFF#000000##000000
##5BAB2C1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C13
Deuteranopia (green-blind)
#A69639
Tritanopia (blue-blind)
#57A593
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5bab2c;
/* rgb */ color: rgb(91, 171, 44);
/* oklch */ color: oklch(66.5% 0.177 136.5);
Tailwind
colors: {
  custom: {
    50: '#91c56e',
    500: '#5bab2c',
    950: '#000000',
  },
}
SCSS
$custom: #5bab2c;
$custom-light: #91c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#5bab2c",
  "rgb": {
    "r": 91,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 97.795,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6652,
    "c": 0.17733,
    "h": 136.5
  },
  "luminance": 0.31532
}

Semantic roles & 50–950 ramp

primary
#5BAB2C
secondary
#A46FC3
accent
#46E2A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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