#5B8620#5B8620

#5B8620 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.8% C 0.137 H 130.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5B8620
RGBrgb(91, 134, 32)
HSLhsl(85, 61%, 33%)
HSVhsv(85, 76%, 53%)
CMYKcmyk(32.1%, 0%, 76.1%, 47.5%)
CIE-LABlab(51.13, -31.06, 47.02)
CIE-LCHlch(51.13, 56.35, 123.45°)
OKLaboklab(56.82% -0.0883 0.105)
OKLCHoklch(56.82% 0.137 130.1)
XYZxyz(13.1001, 19.3782, 4.4164)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8620 #4B2086
analogous
#867E20 #5B8620 #288620
triadic
#5B8620 #205B86 #86205B
tetradic
#5B8620 #20867E #4B2086 #862028
square
#5B8620 #20867E #4B2086 #862028
split-complementary
#5B8620 #202886 #7E2086
monochromatic
#182308 #395514 #5B8620 #7DB72C #9BD44C

Accessibility & contrast

On white

4.31
#5B8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5B8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8620
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8620#FFFFFF#000000##000000
##5B86201.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0B
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#5D8072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b8620;
/* rgb */ color: rgb(91, 134, 32);
/* oklch */ color: oklch(56.8% 0.137 130.1);
Tailwind
colors: {
  custom: {
    50: '#8da963',
    500: '#5b8620',
    950: '#000000',
  },
}
SCSS
$custom: #5b8620;
$custom-light: #8da963;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8620",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 85.294,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5682,
    "c": 0.1372,
    "h": 130.1
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#5B8620
secondary
#784BB7
accent
#43E587
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5B8620

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

Preview Lab → · Contrast checker → · Palette generator →

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