#5BAB27#5BAB27

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

Color values

HEX#5BAB27
RGBrgb(91, 171, 39)
HSLhsl(96, 63%, 41%)
HSVhsv(96, 77%, 67%)
CMYKcmyk(46.8%, 0%, 77.2%, 32.9%)
CIE-LABlab(62.92, -46.59, 56.01)
CIE-LCHlch(62.92, 72.86, 129.75°)
OKLaboklab(66.49% -0.1298 0.1249)
OKLCHoklch(66.49% 0.18 136.1)
XYZxyz(19.2430, 31.4952, 6.9843)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAB27 #7727AB
analogous
#9DAB27 #5BAB27 #27AB35
triadic
#5BAB27 #275BAB #AB275B
tetradic
#5BAB27 #279DAB #7727AB #AB3527
square
#5BAB27 #279DAB #7727AB #AB3527
split-complementary
#5BAB27 #3527AB #AB279D
monochromatic
#264710 #40791C #5BAB27 #78D33D #9ADE6E

Accessibility & contrast

On white

2.88
#5BAB27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5BAB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAB27
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAB27#FFFFFF#000000##000000
##5BAB271.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#58A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5bab27;
/* rgb */ color: rgb(91, 171, 39);
/* oklch */ color: oklch(66.5% 0.180 136.1);
Tailwind
colors: {
  custom: {
    50: '#91c56b',
    500: '#5bab27',
    950: '#000000',
  },
}
SCSS
$custom: #5bab27;
$custom-light: #91c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#5bab27",
  "rgb": {
    "r": 91,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 96.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66486,
    "c": 0.18013,
    "h": 136.1
  },
  "luminance": 0.31496
}

Semantic roles & 50–950 ramp

primary
#5BAB27
secondary
#A169C5
accent
#42E6A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5BAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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