#5D9922#5D9922

#5D9922 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.9% C 0.159 H 133.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5D9922
RGBrgb(93, 153, 34)
HSLhsl(90, 64%, 37%)
HSVhsv(90, 78%, 60%)
CMYKcmyk(39.2%, 0%, 77.8%, 40%)
CIE-LABlab(57.29, -38.73, 52.31)
CIE-LCHlch(57.29, 65.09, 126.52°)
OKLaboklab(61.89% -0.1091 0.1163)
OKLCHoklch(61.89% 0.159 133.2)
XYZxyz(16.1939, 25.2244, 5.5286)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9922 #5E2299
analogous
#999922 #5D9922 #229923
triadic
#5D9922 #225D99 #99225D
tetradic
#5D9922 #229999 #5E2299 #992322
square
#5D9922 #229999 #5E2299 #992322
split-complementary
#5D9922 #232299 #992299
monochromatic
#20350C #3F6717 #5D9922 #7BCB2D #9ADB5B

Accessibility & contrast

On white

3.47
#5D9922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5D9922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9922
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9922#FFFFFF#000000##000000
##5D99221.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D04
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#5D9383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5d9922;
/* rgb */ color: rgb(93, 153, 34);
/* oklch */ color: oklch(61.9% 0.159 133.2);
Tailwind
colors: {
  custom: {
    50: '#90b767',
    500: '#5d9922',
    950: '#000000',
  },
}
SCSS
$custom: #5d9922;
$custom-light: #90b767;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9922",
  "rgb": {
    "r": 93,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 90.252,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.15948,
    "h": 133.2
  },
  "luminance": 0.25225
}

Semantic roles & 50–950 ramp

primary
#5D9922
secondary
#8C58BF
accent
#41E795
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9922

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

Preview Lab → · Contrast checker → · Palette generator →

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