#5B9620#5B9620

#5B9620 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.0% C 0.158 H 133.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5B9620
RGBrgb(91, 150, 32)
HSLhsl(90, 65%, 36%)
HSVhsv(90, 79%, 59%)
CMYKcmyk(39.3%, 0%, 78.7%, 41.2%)
CIE-LABlab(56.23, -38.27, 51.92)
CIE-LCHlch(56.23, 64.50, 126.39°)
OKLaboklab(60.98% -0.1078 0.1152)
OKLCHoklch(60.98% 0.158 133.1)
XYZxyz(15.4812, 24.1404, 5.2101)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9620 #5B2096
analogous
#969620 #5B9620 #209620
triadic
#5B9620 #205B96 #96205B
tetradic
#5B9620 #209696 #5B2096 #962020
square
#5B9620 #209696 #5B2096 #962020
split-complementary
#5B9620 #202096 #962096
monochromatic
#1E310A #3C6415 #5B9620 #7AC82B #98DB56

Accessibility & contrast

On white

3.60
#5B9620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5B9620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9620
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9620#FFFFFF#000000##000000
##5B96201.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#5B9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b9620;
/* rgb */ color: rgb(91, 150, 32);
/* oklch */ color: oklch(61.0% 0.158 133.1);
Tailwind
colors: {
  custom: {
    50: '#8fb565',
    500: '#5b9620',
    950: '#000000',
  },
}
SCSS
$custom: #5b9620;
$custom-light: #8fb565;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9620",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 90,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60984,
    "c": 0.15783,
    "h": 133.1
  },
  "luminance": 0.24141
}

Semantic roles & 50–950 ramp

primary
#5B9620
secondary
#8953BE
accent
#40E894
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9620

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

Preview Lab → · Contrast checker → · Palette generator →

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