#5BA42D#5BA42D

#5BA42D is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.7% C 0.168 H 135.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5BA42D
RGBrgb(91, 164, 45)
HSLhsl(97, 57%, 41%)
HSVhsv(97, 73%, 64%)
CMYKcmyk(44.5%, 0%, 72.6%, 35.7%)
CIE-LABlab(60.75, -43.35, 51.75)
CIE-LCHlch(60.75, 67.51, 129.95°)
OKLaboklab(64.71% -0.1207 0.1168)
OKLCHoklch(64.71% 0.168 135.9)
XYZxyz(18.0630, 28.9634, 7.1208)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA42D #762DA4
analogous
#96A42D #5BA42D #2DA43A
triadic
#5BA42D #2D5BA4 #A42D5B
tetradic
#5BA42D #2D96A4 #762DA4 #A43A2D
square
#5BA42D #2D96A4 #762DA4 #A43A2D
split-complementary
#5BA42D #3A2DA4 #A42D96
monochromatic
#264413 #407420 #5BA42D #78CB43 #9AD973

Accessibility & contrast

On white

3.09
#5BA42D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#5BA42D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA42D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA42D#FFFFFF#000000##000000
##5BA42D1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9618
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#589E8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba42d;
/* rgb */ color: rgb(91, 164, 45);
/* oklch */ color: oklch(64.7% 0.168 135.9);
Tailwind
colors: {
  custom: {
    50: '#90bf6e',
    500: '#5ba42d',
    950: '#000000',
  },
}
SCSS
$custom: #5ba42d;
$custom-light: #90bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba42d",
  "rgb": {
    "r": 91,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 96.807,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64713,
    "c": 0.16795,
    "h": 135.9
  },
  "luminance": 0.28965
}

Semantic roles & 50–950 ramp

primary
#5BA42D
secondary
#A06DC0
accent
#48E0A5
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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