#5BAA2A#5BAA2A

#5BAA2A is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.177 H 136.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5BAA2A
RGBrgb(91, 170, 42)
HSLhsl(97, 60%, 42%)
HSVhsv(97, 75%, 67%)
CMYKcmyk(46.5%, 0%, 75.3%, 33.3%)
CIE-LABlab(62.63, -46.00, 54.71)
CIE-LCHlch(62.63, 71.48, 130.06°)
OKLaboklab(66.25% -0.128 0.1226)
OKLCHoklch(66.25% 0.177 136.2)
XYZxyz(19.1065, 31.1395, 7.1938)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA2A #792AAA
analogous
#9BAA2A #5BAA2A #2AAA39
triadic
#5BAA2A #2A5BAA #AA2A5B
tetradic
#5BAA2A #2A9BAA #792AAA #AA392A
square
#5BAA2A #2A9BAA #792AAA #AA392A
split-complementary
#5BAA2A #392AAA #AA2A9B
monochromatic
#264812 #41791E #5BAA2A #78D041 #9BDC72

Accessibility & contrast

On white

2.91
#5BAA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#5BAA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAA2A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAA2A#FFFFFF#000000##000000
##5BAA2A1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0F
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#57A492
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5baa2a;
/* rgb */ color: rgb(91, 170, 42);
/* oklch */ color: oklch(66.2% 0.177 136.2);
Tailwind
colors: {
  custom: {
    50: '#91c46d',
    500: '#5baa2a',
    950: '#000000',
  },
}
SCSS
$custom: #5baa2a;
$custom-light: #91c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa2a",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 97.031,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66246,
    "c": 0.17726,
    "h": 136.2
  },
  "luminance": 0.31141
}

Semantic roles & 50–950 ramp

primary
#5BAA2A
secondary
#A26CC3
accent
#44E4A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5BAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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