#5BA627#5BA627

#5BA627 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.2% C 0.174 H 135.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5BA627
RGBrgb(91, 166, 39)
HSLhsl(95, 62%, 40%)
HSVhsv(95, 77%, 65%)
CMYKcmyk(45.2%, 0%, 76.5%, 34.9%)
CIE-LABlab(61.34, -44.58, 54.49)
CIE-LCHlch(61.34, 70.40, 129.28°)
OKLaboklab(65.19% -0.1244 0.1217)
OKLCHoklch(65.19% 0.174 135.6)
XYZxyz(18.3164, 29.6420, 6.6754)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA627 #7227A6
analogous
#9AA627 #5BA627 #27A632
triadic
#5BA627 #275BA6 #A6275B
tetradic
#5BA627 #279AA6 #7227A6 #A63227
square
#5BA627 #279AA6 #7227A6 #A63227
split-complementary
#5BA627 #3227A6 #A6279A
monochromatic
#254310 #40741B #5BA627 #77D13A #99DC6B

Accessibility & contrast

On white

3.03
#5BA627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5BA627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA627
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA627#FFFFFF#000000##000000
##5BA6271.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9809
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#58A08E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5ba627;
/* rgb */ color: rgb(91, 166, 39);
/* oklch */ color: oklch(65.2% 0.174 135.6);
Tailwind
colors: {
  custom: {
    50: '#90c16b',
    500: '#5ba627',
    950: '#000000',
  },
}
SCSS
$custom: #5ba627;
$custom-light: #90c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba627",
  "rgb": {
    "r": 91,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 95.433,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65189,
    "c": 0.17401,
    "h": 135.6
  },
  "luminance": 0.29643
}

Semantic roles & 50–950 ramp

primary
#5BA627
secondary
#9D66C3
accent
#43E5A3
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA627

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

Preview Lab → · Contrast checker → · Palette generator →

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