#5BAA2C#5BAA2C

#5BAA2C is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.3% C 0.176 H 136.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5BAA2C
RGBrgb(91, 170, 44)
HSLhsl(98, 59%, 42%)
HSVhsv(98, 74%, 67%)
CMYKcmyk(46.5%, 0%, 74.1%, 33.3%)
CIE-LABlab(62.64, -45.87, 54.01)
CIE-LCHlch(62.64, 70.86, 130.34°)
OKLaboklab(66.26% -0.1275 0.1214)
OKLCHoklch(66.26% 0.176 136.4)
XYZxyz(19.1432, 31.1542, 7.3870)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA2C #7B2CAA
analogous
#9AAA2C #5BAA2C #2CAA3C
triadic
#5BAA2C #2C5BAA #AA2C5B
tetradic
#5BAA2C #2C9AAA #7B2CAA #AA3C2C
square
#5BAA2C #2C9AAA #7B2CAA #AA3C2C
split-complementary
#5BAA2C #3C2CAA #AA2C9A
monochromatic
#274913 #41791F #5BAA2C #78CF44 #9BDB75

Accessibility & contrast

On white

2.90
#5BAA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BAA2C#FFFFFF#000000##000000
##5BAA2C1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5baa2c;
/* rgb */ color: rgb(91, 170, 44);
/* oklch */ color: oklch(66.3% 0.176 136.4);
Tailwind
colors: {
  custom: {
    50: '#90c46e',
    500: '#5baa2c',
    950: '#000000',
  },
}
SCSS
$custom: #5baa2c;
$custom-light: #90c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa2c",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 97.619,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66261,
    "c": 0.17609,
    "h": 136.4
  },
  "luminance": 0.31155
}

Semantic roles & 50–950 ramp

primary
#5BAA2C
secondary
#A46FC3
accent
#46E2A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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