#5BAB2D#5BAB2D

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

Color values

HEX#5BAB2D
RGBrgb(91, 171, 45)
HSLhsl(98, 58%, 42%)
HSVhsv(98, 74%, 67%)
CMYKcmyk(46.8%, 0%, 73.7%, 32.9%)
CIE-LABlab(62.96, -46.20, 53.97)
CIE-LCHlch(62.96, 71.05, 130.57°)
OKLaboklab(66.53% -0.1284 0.1215)
OKLCHoklch(66.53% 0.177 136.6)
XYZxyz(19.3504, 31.5382, 7.5500)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAB2D #7D2DAB
analogous
#9AAB2D #5BAB2D #2DAB3E
triadic
#5BAB2D #2D5BAB #AB2D5B
tetradic
#5BAB2D #2D9AAB #7D2DAB #AB3E2D
square
#5BAB2D #2D9AAB #7D2DAB #AB3E2D
split-complementary
#5BAB2D #3E2DAB #AB2D9A
monochromatic
#274A14 #417B20 #5BAB2D #78CE47 #9CDB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BAB2D#FFFFFF#000000##000000
##5BAB2D1.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)
#B19C15
Deuteranopia (green-blind)
#A6963A
Tritanopia (blue-blind)
#57A593
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5bab2d;
/* rgb */ color: rgb(91, 171, 45);
/* oklch */ color: oklch(66.5% 0.177 136.6);
Tailwind
colors: {
  custom: {
    50: '#90c56e',
    500: '#5bab2d',
    950: '#000000',
  },
}
SCSS
$custom: #5bab2d;
$custom-light: #90c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#5bab2d",
  "rgb": {
    "r": 91,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 98.095,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66527,
    "c": 0.17674,
    "h": 136.6
  },
  "luminance": 0.31539
}

Semantic roles & 50–950 ramp

primary
#5BAB2D
secondary
#A571C3
accent
#46E2A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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