#5B9E22#5B9E22

#5B9E22 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.167 H 134.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5B9E22
RGBrgb(91, 158, 34)
HSLhsl(92, 65%, 38%)
HSVhsv(92, 78%, 62%)
CMYKcmyk(42.4%, 0%, 78.5%, 38%)
CIE-LABlab(58.78, -41.57, 53.69)
CIE-LCHlch(58.78, 67.90, 127.75°)
OKLaboklab(63.08% -0.1166 0.1193)
OKLCHoklch(63.08% 0.167 134.4)
XYZxyz(16.8296, 26.7924, 5.7977)
Luminance0.2679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E22 #65229E
analogous
#999E22 #5B9E22 #229E27
triadic
#5B9E22 #225B9E #9E225B
tetradic
#5B9E22 #22999E #65229E #9E2722
square
#5B9E22 #22999E #65229E #9E2722
split-complementary
#5B9E22 #27229E #9E2299
monochromatic
#21390C #3E6C17 #5B9E22 #78D02D #98DC5E

Accessibility & contrast

On white

3.30
#5B9E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5B9E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E22
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E22#FFFFFF#000000##000000
##5B9E221.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9e22;
/* rgb */ color: rgb(91, 158, 34);
/* oklch */ color: oklch(63.1% 0.167 134.4);
Tailwind
colors: {
  custom: {
    50: '#8fbb67',
    500: '#5b9e22',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e22;
$custom-light: #8fbb67;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e22",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 92.419,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63079,
    "c": 0.16679,
    "h": 134.4
  },
  "luminance": 0.26793
}

Semantic roles & 50–950 ramp

primary
#5B9E22
secondary
#925BC1
accent
#40E89B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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