#5BAB2F#5BAB2F

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

Color values

HEX#5BAB2F
RGBrgb(91, 171, 47)
HSLhsl(99, 57%, 43%)
HSVhsv(99, 73%, 67%)
CMYKcmyk(46.8%, 0%, 72.5%, 32.9%)
CIE-LABlab(62.97, -46.06, 53.25)
CIE-LCHlch(62.97, 70.40, 130.86°)
OKLaboklab(66.54% -0.1278 0.1203)
OKLCHoklch(66.54% 0.176 136.8)
XYZxyz(19.3898, 31.5539, 7.7576)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAB2F #7F2FAB
analogous
#99AB2F #5BAB2F #2FAB41
triadic
#5BAB2F #2F5BAB #AB2F5B
tetradic
#5BAB2F #2F99AB #7F2FAB #AB412F
square
#5BAB2F #2F99AB #7F2FAB #AB412F
split-complementary
#5BAB2F #412FAB #AB2F99
monochromatic
#284B15 #417B22 #5BAB2F #79CD4A #9CDA7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BAB2F#FFFFFF#000000##000000
##5BAB2F1.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)
#B19D19
Deuteranopia (green-blind)
#A6963B
Tritanopia (blue-blind)
#57A593
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5bab2f;
/* rgb */ color: rgb(91, 171, 47);
/* oklch */ color: oklch(66.5% 0.176 136.8);
Tailwind
colors: {
  custom: {
    50: '#90c56f',
    500: '#5bab2f',
    950: '#000000',
  },
}
SCSS
$custom: #5bab2f;
$custom-light: #90c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#5bab2f",
  "rgb": {
    "r": 91,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 98.71,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66542,
    "c": 0.17552,
    "h": 136.8
  },
  "luminance": 0.31555
}

Semantic roles & 50–950 ramp

primary
#5BAB2F
secondary
#A673C3
accent
#48E0AA
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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