#5B9D20#5B9D20

#5B9D20 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.8% C 0.167 H 134.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5B9D20
RGBrgb(91, 157, 32)
HSLhsl(92, 66%, 37%)
HSVhsv(92, 80%, 62%)
CMYKcmyk(42%, 0%, 79.6%, 38.4%)
CIE-LABlab(58.45, -41.26, 54.02)
CIE-LCHlch(58.45, 67.97, 127.37°)
OKLaboklab(62.81% -0.1159 0.1196)
OKLCHoklch(62.81% 0.167 134.1)
XYZxyz(16.6318, 26.4415, 5.5936)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9D20 #62209D
analogous
#9A9D20 #5B9D20 #209D23
triadic
#5B9D20 #205B9D #9D205B
tetradic
#5B9D20 #209A9D #62209D #9D2320
square
#5B9D20 #209A9D #62209D #9D2320
split-complementary
#5B9D20 #23209D #9D209A
monochromatic
#20370B #3E6A16 #5B9D20 #78D02A #98DD5A

Accessibility & contrast

On white

3.34
#5B9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5B9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9D20
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9D20#FFFFFF#000000##000000
##5B9D201.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9A8B2E
Tritanopia (blue-blind)
#5A9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9d20;
/* rgb */ color: rgb(91, 157, 32);
/* oklch */ color: oklch(62.8% 0.167 134.1);
Tailwind
colors: {
  custom: {
    50: '#8fba66',
    500: '#5b9d20',
    950: '#000000',
  },
}
SCSS
$custom: #5b9d20;
$custom-light: #8fba66;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9d20",
  "rgb": {
    "r": 91,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 91.68,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62806,
    "c": 0.16657,
    "h": 134.1
  },
  "luminance": 0.26442
}

Semantic roles & 50–950 ramp

primary
#5B9D20
secondary
#8F57C1
accent
#3FE999
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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