#5B9C22#5B9C22

#5B9C22 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.6% C 0.164 H 134.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5B9C22
RGBrgb(91, 156, 34)
HSLhsl(92, 64%, 37%)
HSVhsv(92, 78%, 61%)
CMYKcmyk(41.7%, 0%, 78.2%, 38.8%)
CIE-LABlab(58.15, -40.72, 53.09)
CIE-LCHlch(58.15, 66.91, 127.49°)
OKLaboklab(62.56% -0.1143 0.118)
OKLCHoklch(62.56% 0.164 134.1)
XYZxyz(16.4913, 26.1157, 5.6850)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9C22 #63229C
analogous
#989C22 #5B9C22 #229C26
triadic
#5B9C22 #225B9C #9C225B
tetradic
#5B9C22 #22989C #63229C #9C2622
square
#5B9C22 #22989C #63229C #9C2622
split-complementary
#5B9C22 #26229C #9C2298
monochromatic
#20380C #3E6A17 #5B9C22 #78CE2D #98DC5D

Accessibility & contrast

On white

3.37
#5B9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#5B9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9C22
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9C22#FFFFFF#000000##000000
##5B9C221.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F01
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#5A9685
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b9c22;
/* rgb */ color: rgb(91, 156, 34);
/* oklch */ color: oklch(62.6% 0.164 134.1);
Tailwind
colors: {
  custom: {
    50: '#8fba67',
    500: '#5b9c22',
    950: '#000000',
  },
}
SCSS
$custom: #5b9c22;
$custom-light: #8fba67;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9c22",
  "rgb": {
    "r": 91,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 91.967,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62558,
    "c": 0.1643,
    "h": 134.1
  },
  "luminance": 0.26117
}

Semantic roles & 50–950 ramp

primary
#5B9C22
secondary
#905AC0
accent
#41E799
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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