#5BA927#5BA927

#5BA927 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.0% C 0.178 H 135.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5BA927
RGBrgb(91, 169, 39)
HSLhsl(96, 63%, 41%)
HSVhsv(96, 77%, 66%)
CMYKcmyk(46.2%, 0%, 76.9%, 33.7%)
CIE-LABlab(62.29, -45.79, 55.41)
CIE-LCHlch(62.29, 71.88, 129.57°)
OKLaboklab(65.97% -0.1277 0.1236)
OKLCHoklch(65.97% 0.178 135.9)
XYZxyz(18.8681, 30.7454, 6.8593)
Luminance0.3075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA927 #7527A9
analogous
#9CA927 #5BA927 #27A934
triadic
#5BA927 #275BA9 #A9275B
tetradic
#5BA927 #279CA9 #7527A9 #A93427
square
#5BA927 #279CA9 #7527A9 #A93427
split-complementary
#5BA927 #3427A9 #A9279C
monochromatic
#254610 #40771C #5BA927 #78D23B #9ADD6D

Accessibility & contrast

On white

2.94
#5BA927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#5BA927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA927
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA927#FFFFFF#000000##000000
##5BA9271.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B06
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#58A390
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5ba927;
/* rgb */ color: rgb(91, 169, 39);
/* oklch */ color: oklch(66.0% 0.178 135.9);
Tailwind
colors: {
  custom: {
    50: '#91c36b',
    500: '#5ba927',
    950: '#000000',
  },
}
SCSS
$custom: #5ba927;
$custom-light: #91c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba927",
  "rgb": {
    "r": 91,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 96,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65967,
    "c": 0.17769,
    "h": 135.9
  },
  "luminance": 0.30747
}

Semantic roles & 50–950 ramp

primary
#5BA927
secondary
#9F68C4
accent
#42E6A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA927

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

Preview Lab → · Contrast checker → · Palette generator →

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