#5B8622#5B8622

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

Color values

HEX#5B8622
RGBrgb(91, 134, 34)
HSLhsl(86, 60%, 33%)
HSVhsv(86, 75%, 53%)
CMYKcmyk(32.1%, 0%, 74.6%, 47.5%)
CIE-LABlab(51.14, -30.94, 46.28)
CIE-LCHlch(51.14, 55.67, 123.76°)
OKLaboklab(56.84% -0.0878 0.1038)
OKLCHoklch(56.84% 0.136 130.3)
XYZxyz(13.1281, 19.3894, 4.5639)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8622 #4D2286
analogous
#867F22 #5B8622 #298622
triadic
#5B8622 #225B86 #86225B
tetradic
#5B8622 #22867F #4D2286 #862229
square
#5B8622 #22867F #4D2286 #862229
split-complementary
#5B8622 #222986 #7F2286
monochromatic
#192409 #3A5516 #5B8622 #7CB72E #9AD350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8622#FFFFFF#000000##000000
##5B86221.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)
#8C7C0F
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#5D8073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b8622;
/* rgb */ color: rgb(91, 134, 34);
/* oklch */ color: oklch(56.8% 0.136 130.3);
Tailwind
colors: {
  custom: {
    50: '#8da964',
    500: '#5b8622',
    950: '#000000',
  },
}
SCSS
$custom: #5b8622;
$custom-light: #8da964;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8622",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 85.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56835,
    "c": 0.13594,
    "h": 130.3
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

primary
#5B8622
secondary
#7B4EB6
accent
#45E389
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5B8622

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

Preview Lab → · Contrast checker → · Palette generator →

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