#5D9B22#5D9B22

#5D9B22 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.4% C 0.162 H 133.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5D9B22
RGBrgb(93, 155, 34)
HSLhsl(91, 64%, 37%)
HSVhsv(91, 78%, 61%)
CMYKcmyk(40%, 0%, 78.1%, 39.2%)
CIE-LABlab(57.93, -39.59, 52.91)
CIE-LCHlch(57.93, 66.09, 126.81°)
OKLaboklab(62.41% -0.1114 0.1176)
OKLCHoklch(62.41% 0.162 133.5)
XYZxyz(16.5240, 25.8845, 5.6386)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9B22 #60229B
analogous
#9A9B22 #5D9B22 #229B24
triadic
#5D9B22 #225D9B #9B225D
tetradic
#5D9B22 #229A9B #60229B #9B2422
square
#5D9B22 #229A9B #60229B #9B2422
split-complementary
#5D9B22 #24229B #9B229A
monochromatic
#21370C #3F6917 #5D9B22 #7BCD2D #9ADB5C

Accessibility & contrast

On white

3.40
#5D9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5D9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9B22
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9B22#FFFFFF#000000##000000
##5D9B221.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d9b22;
/* rgb */ color: rgb(93, 155, 34);
/* oklch */ color: oklch(62.4% 0.162 133.5);
Tailwind
colors: {
  custom: {
    50: '#90b967',
    500: '#5d9b22',
    950: '#000000',
  },
}
SCSS
$custom: #5d9b22;
$custom-light: #90b967;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9b22",
  "rgb": {
    "r": 93,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 90.744,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62405,
    "c": 0.16199,
    "h": 133.5
  },
  "luminance": 0.25885
}

Semantic roles & 50–950 ramp

primary
#5D9B22
secondary
#8E59C0
accent
#41E796
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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