#5BA22D#5BA22D

#5BA22D is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.2% C 0.165 H 135.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5BA22D
RGBrgb(91, 162, 45)
HSLhsl(96, 57%, 41%)
HSVhsv(96, 72%, 64%)
CMYKcmyk(43.8%, 0%, 72.2%, 36.5%)
CIE-LABlab(60.12, -42.52, 51.11)
CIE-LCHlch(60.12, 66.48, 129.76°)
OKLaboklab(64.2% -0.1184 0.1155)
OKLCHoklch(64.2% 0.165 135.7)
XYZxyz(17.7079, 28.2532, 7.0025)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA22D #742DA2
analogous
#95A22D #5BA22D #2DA239
triadic
#5BA22D #2D5BA2 #A22D5B
tetradic
#5BA22D #2D95A2 #742DA2 #A2392D
square
#5BA22D #2D95A2 #742DA2 #A2392D
split-complementary
#5BA22D #392DA2 #A22D95
monochromatic
#254212 #407220 #5BA22D #77CA42 #9AD872

Accessibility & contrast

On white

3.16
#5BA22D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#5BA22D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA22D
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA22D#FFFFFF#000000##000000
##5BA22D1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89519
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#599C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ba22d;
/* rgb */ color: rgb(91, 162, 45);
/* oklch */ color: oklch(64.2% 0.165 135.7);
Tailwind
colors: {
  custom: {
    50: '#8fbe6d',
    500: '#5ba22d',
    950: '#000000',
  },
}
SCSS
$custom: #5ba22d;
$custom-light: #8fbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba22d",
  "rgb": {
    "r": 91,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 96.41,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64195,
    "c": 0.16541,
    "h": 135.7
  },
  "luminance": 0.28254
}

Semantic roles & 50–950 ramp

primary
#5BA22D
secondary
#9E6CBF
accent
#48E0A4
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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