#5BA527#5BA527

#5BA527 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 64.9% C 0.173 H 135.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5BA527
RGBrgb(91, 165, 39)
HSLhsl(95, 62%, 40%)
HSVhsv(95, 76%, 65%)
CMYKcmyk(44.8%, 0%, 76.4%, 35.3%)
CIE-LABlab(61.03, -44.17, 54.18)
CIE-LCHlch(61.03, 69.90, 129.18°)
OKLaboklab(64.93% -0.1233 0.1211)
OKLCHoklch(64.93% 0.173 135.5)
XYZxyz(18.1353, 29.2798, 6.6150)
Luminance0.2928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA527 #7127A5
analogous
#9AA527 #5BA527 #27A532
triadic
#5BA527 #275BA5 #A5275B
tetradic
#5BA527 #279AA5 #7127A5 #A53227
square
#5BA527 #279AA5 #7127A5 #A53227
split-complementary
#5BA527 #3227A5 #A5279A
monochromatic
#244210 #40741B #5BA527 #77D039 #99DC6A

Accessibility & contrast

On white

3.06
#5BA527 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#5BA527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA527
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA527#FFFFFF#000000##000000
##5BA5271.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9709
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#599F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba527;
/* rgb */ color: rgb(91, 165, 39);
/* oklch */ color: oklch(64.9% 0.173 135.5);
Tailwind
colors: {
  custom: {
    50: '#90c06b',
    500: '#5ba527',
    950: '#000000',
  },
}
SCSS
$custom: #5ba527;
$custom-light: #90c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba527",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 95.238,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.64929,
    "c": 0.17277,
    "h": 135.5
  },
  "luminance": 0.29281
}

Semantic roles & 50–950 ramp

primary
#5BA527
secondary
#9C66C2
accent
#43E5A2
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA527

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

Preview Lab → · Contrast checker → · Palette generator →

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