#5B9B22#5B9B22

#5B9B22 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.3% C 0.163 H 134.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5B9B22
RGBrgb(91, 155, 34)
HSLhsl(92, 64%, 37%)
HSVhsv(92, 78%, 61%)
CMYKcmyk(41.3%, 0%, 78.1%, 39.2%)
CIE-LABlab(57.83, -40.30, 52.78)
CIE-LCHlch(57.83, 66.41, 127.36°)
OKLaboklab(62.3% -0.1132 0.1174)
OKLCHoklch(62.3% 0.163 134)
XYZxyz(16.3242, 25.7815, 5.6293)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9B22 #62229B
analogous
#979B22 #5B9B22 #229B26
triadic
#5B9B22 #225B9B #9B225B
tetradic
#5B9B22 #22979B #62229B #9B2622
square
#5B9B22 #22979B #62229B #9B2622
split-complementary
#5B9B22 #26229B #9B2297
monochromatic
#20370C #3E6917 #5B9B22 #78CD2D #98DB5C

Accessibility & contrast

On white

3.41
#5B9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5B9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9B22
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9B22#FFFFFF#000000##000000
##5B9B221.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E02
Deuteranopia (green-blind)
#99892F
Tritanopia (blue-blind)
#5A9584
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b9b22;
/* rgb */ color: rgb(91, 155, 34);
/* oklch */ color: oklch(62.3% 0.163 134.0);
Tailwind
colors: {
  custom: {
    50: '#8fb967',
    500: '#5b9b22',
    950: '#000000',
  },
}
SCSS
$custom: #5b9b22;
$custom-light: #8fb967;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9b22",
  "rgb": {
    "r": 91,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 91.736,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62298,
    "c": 0.16305,
    "h": 134
  },
  "luminance": 0.25782
}

Semantic roles & 50–950 ramp

primary
#5B9B22
secondary
#8F59C0
accent
#41E799
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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