#5D9D22#5D9D22

#5D9D22 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 62.9% C 0.165 H 133.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5D9D22
RGBrgb(93, 157, 34)
HSLhsl(91, 64%, 37%)
HSVhsv(91, 78%, 62%)
CMYKcmyk(40.8%, 0%, 78.3%, 38.4%)
CIE-LABlab(58.56, -40.45, 53.52)
CIE-LCHlch(58.56, 67.08, 127.08°)
OKLaboklab(62.92% -0.1137 0.1189)
OKLCHoklch(62.92% 0.165 133.7)
XYZxyz(16.8596, 26.5557, 5.7505)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9D22 #62229D
analogous
#9A9D22 #5D9D22 #229D25
triadic
#5D9D22 #225D9D #9D225D
tetradic
#5D9D22 #229A9D #62229D #9D2522
square
#5D9D22 #229A9D #62229D #9D2522
split-complementary
#5D9D22 #25229D #9D229A
monochromatic
#21380C #3F6B17 #5D9D22 #7BCF2D #9ADC5D

Accessibility & contrast

On white

3.33
#5D9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#5D9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9D22
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9D22#FFFFFF#000000##000000
##5D9D221.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d9d22;
/* rgb */ color: rgb(93, 157, 34);
/* oklch */ color: oklch(62.9% 0.165 133.7);
Tailwind
colors: {
  custom: {
    50: '#91ba67',
    500: '#5d9d22',
    950: '#000000',
  },
}
SCSS
$custom: #5d9d22;
$custom-light: #91ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9d22",
  "rgb": {
    "r": 93,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 91.22,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62924,
    "c": 0.1645,
    "h": 133.7
  },
  "luminance": 0.26557
}

Semantic roles & 50–950 ramp

primary
#5D9D22
secondary
#8F5AC1
accent
#40E797
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5D9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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