#5B8920#5B8920

#5B8920 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.6% C 0.141 H 130.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5B8920
RGBrgb(91, 137, 32)
HSLhsl(86, 62%, 33%)
HSVhsv(86, 77%, 54%)
CMYKcmyk(33.6%, 0%, 76.6%, 46.3%)
CIE-LABlab(52.08, -32.46, 47.95)
CIE-LCHlch(52.08, 57.90, 124.09°)
OKLaboklab(57.6% -0.0921 0.1069)
OKLCHoklch(57.6% 0.141 130.8)
XYZxyz(13.5207, 20.2193, 4.5566)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8920 #4E2089
analogous
#898220 #5B8920 #268920
triadic
#5B8920 #205B89 #89205B
tetradic
#5B8920 #208982 #4E2089 #892026
square
#5B8920 #208982 #4E2089 #892026
split-complementary
#5B8920 #202689 #822089
monochromatic
#192609 #3A5714 #5B8920 #7CBB2C #9AD64E

Accessibility & contrast

On white

4.16
#5B8920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5B8920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8920
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8920#FFFFFF#000000##000000
##5B89201.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#5D8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b8920;
/* rgb */ color: rgb(91, 137, 32);
/* oklch */ color: oklch(57.6% 0.141 130.8);
Tailwind
colors: {
  custom: {
    50: '#8dab64',
    500: '#5b8920',
    950: '#000000',
  },
}
SCSS
$custom: #5b8920;
$custom-light: #8dab64;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8920",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 86.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.576,
    "c": 0.14114,
    "h": 130.8
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

primary
#5B8920
secondary
#7C4CB9
accent
#43E58A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B8920

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

Preview Lab → · Contrast checker → · Palette generator →

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