#5BA827#5BA827

#5BA827 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.7% C 0.176 H 135.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5BA827
RGBrgb(91, 168, 39)
HSLhsl(96, 62%, 41%)
HSVhsv(96, 77%, 66%)
CMYKcmyk(45.8%, 0%, 76.8%, 34.1%)
CIE-LABlab(61.98, -45.39, 55.10)
CIE-LCHlch(61.98, 71.39, 129.48°)
OKLaboklab(65.71% -0.1266 0.123)
OKLCHoklch(65.71% 0.176 135.8)
XYZxyz(18.6828, 30.3747, 6.7975)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA827 #7427A8
analogous
#9BA827 #5BA827 #27A833
triadic
#5BA827 #275BA8 #A8275B
tetradic
#5BA827 #279BA8 #7427A8 #A83327
square
#5BA827 #279BA8 #7427A8 #A83327
split-complementary
#5BA827 #3327A8 #A8279B
monochromatic
#254510 #40761B #5BA827 #77D13B #9ADD6C

Accessibility & contrast

On white

2.97
#5BA827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5BA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA827
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA827#FFFFFF#000000##000000
##5BA8271.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A07
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#58A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ba827;
/* rgb */ color: rgb(91, 168, 39);
/* oklch */ color: oklch(65.7% 0.176 135.8);
Tailwind
colors: {
  custom: {
    50: '#90c26b',
    500: '#5ba827',
    950: '#000000',
  },
}
SCSS
$custom: #5ba827;
$custom-light: #90c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba827",
  "rgb": {
    "r": 91,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 95.814,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65708,
    "c": 0.17647,
    "h": 135.8
  },
  "luminance": 0.30376
}

Semantic roles & 50–950 ramp

primary
#5BA827
secondary
#9E67C3
accent
#42E5A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA827

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

Preview Lab → · Contrast checker → · Palette generator →

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