#5D9722#5D9722

#5D9722 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.4% C 0.157 H 132.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5D9722
RGBrgb(93, 151, 34)
HSLhsl(90, 63%, 36%)
HSVhsv(90, 77%, 59%)
CMYKcmyk(38.4%, 0%, 77.5%, 40.8%)
CIE-LABlab(56.66, -37.86, 51.70)
CIE-LCHlch(56.66, 64.08, 126.22°)
OKLaboklab(61.37% -0.1067 0.1151)
OKLCHoklch(61.37% 0.157 132.9)
XYZxyz(15.8693, 24.5751, 5.4204)
Luminance0.2458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9722 #5C2297
analogous
#979722 #5D9722 #229722
triadic
#5D9722 #225D97 #97225D
tetradic
#5D9722 #229797 #5C2297 #972222
square
#5D9722 #229797 #5C2297 #972222
split-complementary
#5D9722 #222297 #972297
monochromatic
#1F330C #3E6517 #5D9722 #7CC92D #9ADA5A

Accessibility & contrast

On white

3.55
#5D9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5D9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9722
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9722#FFFFFF#000000##000000
##5D97221.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B05
Deuteranopia (green-blind)
#96862E
Tritanopia (blue-blind)
#5E9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d9722;
/* rgb */ color: rgb(93, 151, 34);
/* oklch */ color: oklch(61.4% 0.157 132.9);
Tailwind
colors: {
  custom: {
    50: '#90b667',
    500: '#5d9722',
    950: '#000000',
  },
}
SCSS
$custom: #5d9722;
$custom-light: #90b667;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9722",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 89.744,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61368,
    "c": 0.15694,
    "h": 132.9
  },
  "luminance": 0.24576
}

Semantic roles & 50–950 ramp

primary
#5D9722
secondary
#8A57BE
accent
#42E693
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9722

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

Preview Lab → · Contrast checker → · Palette generator →

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