#5B9F22#5B9F22

#5B9F22 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.168 H 134.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5B9F22
RGBrgb(91, 159, 34)
HSLhsl(93, 65%, 38%)
HSVhsv(93, 79%, 62%)
CMYKcmyk(42.8%, 0%, 78.6%, 37.6%)
CIE-LABlab(59.10, -41.98, 53.99)
CIE-LCHlch(59.10, 68.40, 127.87°)
OKLaboklab(63.34% -0.1177 0.1199)
OKLCHoklch(63.34% 0.168 134.5)
XYZxyz(17.0009, 27.1350, 5.8548)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F22 #66229F
analogous
#999F22 #5B9F22 #229F27
triadic
#5B9F22 #225B9F #9F225B
tetradic
#5B9F22 #22999F #66229F #9F2722
square
#5B9F22 #22999F #66229F #9F2722
split-complementary
#5B9F22 #27229F #9F2299
monochromatic
#213A0C #3E6D17 #5B9F22 #78D12D #98DD5F

Accessibility & contrast

On white

3.27
#5B9F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5B9F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F22
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F22#FFFFFF#000000##000000
##5B9F221.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f22;
/* rgb */ color: rgb(91, 159, 34);
/* oklch */ color: oklch(63.3% 0.168 134.5);
Tailwind
colors: {
  custom: {
    50: '#90bc68',
    500: '#5b9f22',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f22;
$custom-light: #90bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f22",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 92.64,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63339,
    "c": 0.16803,
    "h": 134.5
  },
  "luminance": 0.27136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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