#5B9622#5B9622

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

Color values

HEX#5B9622
RGBrgb(91, 150, 34)
HSLhsl(91, 63%, 36%)
HSVhsv(91, 77%, 59%)
CMYKcmyk(39.3%, 0%, 77.3%, 41.2%)
CIE-LABlab(56.24, -38.15, 51.26)
CIE-LCHlch(56.24, 63.90, 126.66°)
OKLaboklab(61% -0.1074 0.1142)
OKLCHoklch(61% 0.157 133.2)
XYZxyz(15.5092, 24.1516, 5.3576)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9622 #5D2296
analogous
#959622 #5B9622 #229623
triadic
#5B9622 #225B96 #96225B
tetradic
#5B9622 #229596 #5D2296 #962322
square
#5B9622 #229596 #5D2296 #962322
split-complementary
#5B9622 #232296 #962295
monochromatic
#1E320B #3D6417 #5B9622 #79C82D #98D959

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9622#FFFFFF#000000##000000
##5B96221.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)
#9C8A06
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#5B9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b9622;
/* rgb */ color: rgb(91, 150, 34);
/* oklch */ color: oklch(61.0% 0.157 133.2);
Tailwind
colors: {
  custom: {
    50: '#8fb566',
    500: '#5b9622',
    950: '#000000',
  },
}
SCSS
$custom: #5b9622;
$custom-light: #8fb566;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9622",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 90.517,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.15675,
    "h": 133.2
  },
  "luminance": 0.24152
}

Semantic roles & 50–950 ramp

primary
#5B9622
secondary
#8B56BE
accent
#42E695
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9622

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

Preview Lab → · Contrast checker → · Palette generator →

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