#5BAA2E#5BAA2E

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

Color values

HEX#5BAA2E
RGBrgb(91, 170, 46)
HSLhsl(98, 57%, 42%)
HSVhsv(98, 73%, 67%)
CMYKcmyk(46.5%, 0%, 72.9%, 33.3%)
CIE-LABlab(62.65, -45.73, 53.29)
CIE-LCHlch(62.65, 70.22, 130.63°)
OKLaboklab(66.27% -0.127 0.1202)
OKLCHoklch(66.27% 0.175 136.6)
XYZxyz(19.1817, 31.1696, 7.5898)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA2E #7D2EAA
analogous
#99AA2E #5BAA2E #2EAA3F
triadic
#5BAA2E #2E5BAA #AA2E5B
tetradic
#5BAA2E #2E99AA #7D2EAA #AA3F2E
square
#5BAA2E #2E99AA #7D2EAA #AA3F2E
split-complementary
#5BAA2E #3F2EAA #AA2E99
monochromatic
#274A14 #417A21 #5BAA2E #78CD48 #9CDA78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5BAA2E#FFFFFF#000000##000000
##5BAA2E1.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)
#B09C18
Deuteranopia (green-blind)
#A5953A
Tritanopia (blue-blind)
#57A492
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5baa2e;
/* rgb */ color: rgb(91, 170, 46);
/* oklch */ color: oklch(66.3% 0.175 136.6);
Tailwind
colors: {
  custom: {
    50: '#90c46f',
    500: '#5baa2e',
    950: '#000000',
  },
}
SCSS
$custom: #5baa2e;
$custom-light: #90c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa2e",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 98.226,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66275,
    "c": 0.17488,
    "h": 136.6
  },
  "luminance": 0.31171
}

Semantic roles & 50–950 ramp

primary
#5BAA2E
secondary
#A571C3
accent
#47E1A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5BAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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