#5D9522#5D9522

#5D9522 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.8% C 0.154 H 132.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5D9522
RGBrgb(93, 149, 34)
HSLhsl(89, 63%, 36%)
HSVhsv(89, 77%, 58%)
CMYKcmyk(37.6%, 0%, 77.2%, 41.6%)
CIE-LABlab(56.02, -36.99, 51.09)
CIE-LCHlch(56.02, 63.07, 125.90°)
OKLaboklab(60.85% -0.1044 0.1138)
OKLCHoklch(60.85% 0.154 132.5)
XYZxyz(15.5502, 23.9369, 5.3140)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9522 #5A2295
analogous
#959322 #5D9522 #239522
triadic
#5D9522 #225D95 #95225D
tetradic
#5D9522 #229593 #5A2295 #952223
square
#5D9522 #229593 #5A2295 #952223
split-complementary
#5D9522 #222395 #932295
monochromatic
#1F310B #3E6317 #5D9522 #7CC72D #9AD958

Accessibility & contrast

On white

3.63
#5D9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5D9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9522
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9522#FFFFFF#000000##000000
##5D95221.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8906
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#5E8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d9522;
/* rgb */ color: rgb(93, 149, 34);
/* oklch */ color: oklch(60.8% 0.154 132.5);
Tailwind
colors: {
  custom: {
    50: '#90b466',
    500: '#5d9522',
    950: '#000000',
  },
}
SCSS
$custom: #5d9522;
$custom-light: #90b466;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9522",
  "rgb": {
    "r": 93,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 89.217,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60849,
    "c": 0.1544,
    "h": 132.5
  },
  "luminance": 0.23938
}

Semantic roles & 50–950 ramp

primary
#5D9522
secondary
#8856BD
accent
#42E692
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9522

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

Preview Lab → · Contrast checker → · Palette generator →

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