#5BA227#5BA227

#5BA227 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.2% C 0.169 H 135.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5BA227
RGBrgb(91, 162, 39)
HSLhsl(95, 61%, 39%)
HSVhsv(95, 76%, 64%)
CMYKcmyk(43.8%, 0%, 75.9%, 36.5%)
CIE-LABlab(60.08, -42.93, 53.26)
CIE-LCHlch(60.08, 68.41, 128.87°)
OKLaboklab(64.15% -0.1199 0.1191)
OKLCHoklch(64.15% 0.169 135.2)
XYZxyz(17.6005, 28.2103, 6.4368)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA227 #6E27A2
analogous
#99A227 #5BA227 #27A231
triadic
#5BA227 #275BA2 #A2275B
tetradic
#5BA227 #2799A2 #6E27A2 #A23127
square
#5BA227 #2799A2 #6E27A2 #A23127
split-complementary
#5BA227 #3127A2 #A22799
monochromatic
#243F0F #3F711B #5BA227 #77CF37 #99DB69

Accessibility & contrast

On white

3.16
#5BA227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#5BA227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA227
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA227#FFFFFF#000000##000000
##5BA2271.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940C
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#599C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba227;
/* rgb */ color: rgb(91, 162, 39);
/* oklch */ color: oklch(64.2% 0.169 135.2);
Tailwind
colors: {
  custom: {
    50: '#90be6a',
    500: '#5ba227',
    950: '#000000',
  },
}
SCSS
$custom: #5ba227;
$custom-light: #90be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba227",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 94.634,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64151,
    "c": 0.16905,
    "h": 135.2
  },
  "luminance": 0.28211
}

Semantic roles & 50–950 ramp

primary
#5BA227
secondary
#9A64C1
accent
#43E4A0
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA227

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

Preview Lab → · Contrast checker → · Palette generator →

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