#5BA327#5BA327

#5BA327 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.4% C 0.170 H 135.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5BA327
RGBrgb(91, 163, 39)
HSLhsl(95, 61%, 40%)
HSVhsv(95, 76%, 64%)
CMYKcmyk(44.2%, 0%, 76.1%, 36.1%)
CIE-LABlab(60.39, -43.34, 53.57)
CIE-LCHlch(60.39, 68.91, 128.98°)
OKLaboklab(64.41% -0.1211 0.1198)
OKLCHoklch(64.41% 0.17 135.3)
XYZxyz(17.7774, 28.5640, 6.4957)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA327 #6F27A3
analogous
#99A327 #5BA327 #27A331
triadic
#5BA327 #275BA3 #A3275B
tetradic
#5BA327 #2799A3 #6F27A3 #A33127
square
#5BA327 #2799A3 #6F27A3 #A33127
split-complementary
#5BA327 #3127A3 #A32799
monochromatic
#24400F #3F721B #5BA327 #77CF38 #99DB69

Accessibility & contrast

On white

3.13
#5BA327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5BA327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA327
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA327#FFFFFF#000000##000000
##5BA3271.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950B
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#599D8B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba327;
/* rgb */ color: rgb(91, 163, 39);
/* oklch */ color: oklch(64.4% 0.170 135.3);
Tailwind
colors: {
  custom: {
    50: '#90bf6a',
    500: '#5ba327',
    950: '#000000',
  },
}
SCSS
$custom: #5ba327;
$custom-light: #90bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba327",
  "rgb": {
    "r": 91,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 94.839,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6441,
    "c": 0.17029,
    "h": 135.3
  },
  "luminance": 0.28565
}

Semantic roles & 50–950 ramp

primary
#5BA327
secondary
#9A64C1
accent
#43E4A1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA327

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

Preview Lab → · Contrast checker → · Palette generator →

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