#5BA727#5BA727

#5BA727 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.4% C 0.175 H 135.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5BA727
RGBrgb(91, 167, 39)
HSLhsl(96, 62%, 40%)
HSVhsv(96, 77%, 65%)
CMYKcmyk(45.5%, 0%, 76.6%, 34.5%)
CIE-LABlab(61.66, -44.98, 54.80)
CIE-LCHlch(61.66, 70.89, 129.38°)
OKLaboklab(65.45% -0.1255 0.1223)
OKLCHoklch(65.45% 0.175 135.7)
XYZxyz(18.4988, 30.0069, 6.7362)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA727 #7327A7
analogous
#9BA727 #5BA727 #27A733
triadic
#5BA727 #275BA7 #A7275B
tetradic
#5BA727 #279BA7 #7327A7 #A73327
square
#5BA727 #279BA7 #7327A7 #A73327
split-complementary
#5BA727 #3327A7 #A7279B
monochromatic
#254410 #40751B #5BA727 #77D13A #9ADD6C

Accessibility & contrast

On white

3.00
#5BA727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5BA727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA727
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA727#FFFFFF#000000##000000
##5BA7271.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9908
Deuteranopia (green-blind)
#A39335
Tritanopia (blue-blind)
#58A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5ba727;
/* rgb */ color: rgb(91, 167, 39);
/* oklch */ color: oklch(65.4% 0.175 135.7);
Tailwind
colors: {
  custom: {
    50: '#90c26b',
    500: '#5ba727',
    950: '#000000',
  },
}
SCSS
$custom: #5ba727;
$custom-light: #90c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba727",
  "rgb": {
    "r": 91,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 95.625,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65448,
    "c": 0.17524,
    "h": 135.7
  },
  "luminance": 0.30008
}

Semantic roles & 50–950 ramp

primary
#5BA727
secondary
#9E67C3
accent
#43E5A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA727

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

Preview Lab → · Contrast checker → · Palette generator →

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