#5D9923#5D9923

#5D9923 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.05:1 contrast (WCAG AA passes).

Color values

HEX#5D9923
RGBrgb(93, 153, 35)
HSLhsl(91, 63%, 37%)
HSVhsv(91, 77%, 60%)
CMYKcmyk(39.2%, 0%, 77.1%, 40%)
CIE-LABlab(57.30, -38.67, 51.98)
CIE-LCHlch(57.30, 64.78, 126.65°)
OKLaboklab(61.89% -0.1089 0.1158)
OKLCHoklch(61.89% 0.159 133.2)
XYZxyz(16.2086, 25.2302, 5.6057)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9923 #5F2399
analogous
#989923 #5D9923 #239924
triadic
#5D9923 #235D99 #99235D
tetradic
#5D9923 #239899 #5F2399 #992423
square
#5D9923 #239899 #5F2399 #992423
split-complementary
#5D9923 #242399 #992398
monochromatic
#20350C #3F6718 #5D9923 #7BCB2E #9ADA5D

Accessibility & contrast

On white

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

On black

6.05
#5D9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9923
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9923#FFFFFF#000000##000000
##5D99231.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d9923;
/* rgb */ color: rgb(93, 153, 35);
/* oklch */ color: oklch(61.9% 0.159 133.2);
Tailwind
colors: {
  custom: {
    50: '#90b767',
    500: '#5d9923',
    950: '#000000',
  },
}
SCSS
$custom: #5d9923;
$custom-light: #90b767;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9923",
  "rgb": {
    "r": 93,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 90.508,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.15893,
    "h": 133.2
  },
  "luminance": 0.25231
}

Semantic roles & 50–950 ramp

primary
#5D9923
secondary
#8D59BE
accent
#42E695
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9923

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

Preview Lab → · Contrast checker → · Palette generator →

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