#5BAA27#5BAA27

#5BAA27 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.179 H 136.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5BAA27
RGBrgb(91, 170, 39)
HSLhsl(96, 63%, 41%)
HSVhsv(96, 77%, 67%)
CMYKcmyk(46.5%, 0%, 77.1%, 33.3%)
CIE-LABlab(62.61, -46.19, 55.71)
CIE-LCHlch(62.61, 72.37, 129.66°)
OKLaboklab(66.23% -0.1287 0.1242)
OKLCHoklch(66.23% 0.179 136)
XYZxyz(19.0548, 31.1189, 6.9215)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA27 #7627AA
analogous
#9CAA27 #5BAA27 #27AA34
triadic
#5BAA27 #275BAA #AA275B
tetradic
#5BAA27 #279CAA #7627AA #AA3427
square
#5BAA27 #279CAA #7627AA #AA3427
split-complementary
#5BAA27 #3427AA #AA279C
monochromatic
#264610 #40781C #5BAA27 #78D23C #9ADE6E

Accessibility & contrast

On white

2.91
#5BAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5BAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAA27
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAA27#FFFFFF#000000##000000
##5BAA271.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#A69535
Tritanopia (blue-blind)
#58A491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5baa27;
/* rgb */ color: rgb(91, 170, 39);
/* oklch */ color: oklch(66.2% 0.179 136.0);
Tailwind
colors: {
  custom: {
    50: '#91c46b',
    500: '#5baa27',
    950: '#000000',
  },
}
SCSS
$custom: #5baa27;
$custom-light: #91c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa27",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 96.183,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66227,
    "c": 0.1789,
    "h": 136
  },
  "luminance": 0.3112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5BAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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