#5BAC27#5BAC27

#5BAC27 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 66.7% C 0.181 H 136.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5BAC27
RGBrgb(91, 172, 39)
HSLhsl(97, 63%, 41%)
HSVhsv(97, 77%, 67%)
CMYKcmyk(47.1%, 0%, 77.3%, 32.5%)
CIE-LABlab(63.24, -46.99, 56.32)
CIE-LCHlch(63.24, 73.35, 129.84°)
OKLaboklab(66.75% -0.1309 0.1255)
OKLCHoklch(66.75% 0.181 136.2)
XYZxyz(19.4326, 31.8744, 7.0475)
Luminance0.3188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAC27 #7827AC
analogous
#9EAC27 #5BAC27 #27AC35
triadic
#5BAC27 #275BAC #AC275B
tetradic
#5BAC27 #279EAC #7827AC #AC3527
square
#5BAC27 #279EAC #7827AC #AC3527
split-complementary
#5BAC27 #3527AC #AC279E
monochromatic
#264810 #417A1C #5BAC27 #78D33D #9BDE6F

Accessibility & contrast

On white

2.85
#5BAC27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#5BAC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAC27
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAC27#FFFFFF#000000##000000
##5BAC271.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D04
Deuteranopia (green-blind)
#A79735
Tritanopia (blue-blind)
#57A693
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5bac27;
/* rgb */ color: rgb(91, 172, 39);
/* oklch */ color: oklch(66.7% 0.181 136.2);
Tailwind
colors: {
  custom: {
    50: '#91c56c',
    500: '#5bac27',
    950: '#000000',
  },
}
SCSS
$custom: #5bac27;
$custom-light: #91c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5bac27",
  "rgb": {
    "r": 91,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 96.541,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66745,
    "c": 0.18134,
    "h": 136.2
  },
  "luminance": 0.31876
}

Semantic roles & 50–950 ramp

primary
#5BAC27
secondary
#A16AC5
accent
#42E6A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5BAC27

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

Preview Lab → · Contrast checker → · Palette generator →

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