#5BA121#5BA121

#5BA121 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.9% C 0.171 H 134.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5BA121
RGBrgb(91, 161, 33)
HSLhsl(93, 66%, 38%)
HSVhsv(93, 80%, 63%)
CMYKcmyk(43.5%, 0%, 79.5%, 36.9%)
CIE-LABlab(59.73, -42.87, 54.90)
CIE-LCHlch(59.73, 69.66, 127.99°)
OKLaboklab(63.85% -0.1202 0.1217)
OKLCHoklch(63.85% 0.171 134.7)
XYZxyz(17.3334, 27.8227, 5.8955)
Luminance0.2782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA121 #6721A1
analogous
#9BA121 #5BA121 #21A127
triadic
#5BA121 #215BA1 #A1215B
tetradic
#5BA121 #219BA1 #6721A1 #A12721
square
#5BA121 #219BA1 #6721A1 #A12721
split-complementary
#5BA121 #2721A1 #A1219B
monochromatic
#223B0C #3E6E17 #5BA121 #78D42C #98DE5E

Accessibility & contrast

On white

3.20
#5BA121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5BA121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA121
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA121#FFFFFF#000000##000000
##5BA1211.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#5A9B89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5ba121;
/* rgb */ color: rgb(91, 161, 33);
/* oklch */ color: oklch(63.9% 0.171 134.7);
Tailwind
colors: {
  custom: {
    50: '#90bd67',
    500: '#5ba121',
    950: '#000000',
  },
}
SCSS
$custom: #5ba121;
$custom-light: #90bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba121",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 92.813,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63853,
    "c": 0.171,
    "h": 134.7
  },
  "luminance": 0.27824
}

Semantic roles & 50–950 ramp

primary
#5BA121
secondary
#945BC3
accent
#3FE99C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA121

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

Preview Lab → · Contrast checker → · Palette generator →

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