#5B9720#5B9720

#5B9720 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.2% C 0.159 H 133.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5B9720
RGBrgb(91, 151, 32)
HSLhsl(90, 65%, 36%)
HSVhsv(90, 79%, 59%)
CMYKcmyk(39.7%, 0%, 78.8%, 40.8%)
CIE-LABlab(56.55, -38.70, 52.22)
CIE-LCHlch(56.55, 65.00, 126.54°)
OKLaboklab(61.25% -0.109 0.1159)
OKLCHoklch(61.25% 0.159 133.3)
XYZxyz(15.6415, 24.4609, 5.2635)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9720 #5C2097
analogous
#969720 #5B9720 #209720
triadic
#5B9720 #205B97 #97205B
tetradic
#5B9720 #209697 #5C2097 #972020
square
#5B9720 #209697 #5C2097 #972020
split-complementary
#5B9720 #202097 #972096
monochromatic
#1E320B #3D6415 #5B9720 #79C92B #98DB56

Accessibility & contrast

On white

3.56
#5B9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5B9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9720
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9720#FFFFFF#000000##000000
##5B97201.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#95862D
Tritanopia (blue-blind)
#5B9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b9720;
/* rgb */ color: rgb(91, 151, 32);
/* oklch */ color: oklch(61.2% 0.159 133.3);
Tailwind
colors: {
  custom: {
    50: '#8fb666',
    500: '#5b9720',
    950: '#000000',
  },
}
SCSS
$custom: #5b9720;
$custom-light: #8fb666;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9720",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 90.252,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61245,
    "c": 0.1591,
    "h": 133.3
  },
  "luminance": 0.24462
}

Semantic roles & 50–950 ramp

primary
#5B9720
secondary
#8A54BF
accent
#40E895
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9720

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

Preview Lab → · Contrast checker → · Palette generator →

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