#5D9D23#5D9D23

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

Color values

HEX#5D9D23
RGBrgb(93, 157, 35)
HSLhsl(91, 64%, 38%)
HSVhsv(91, 78%, 62%)
CMYKcmyk(40.8%, 0%, 77.7%, 38.4%)
CIE-LABlab(58.57, -40.39, 53.19)
CIE-LCHlch(58.57, 66.79, 127.21°)
OKLaboklab(62.93% -0.1135 0.1183)
OKLCHoklch(62.93% 0.164 133.8)
XYZxyz(16.8743, 26.5616, 5.8276)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9D23 #63239D
analogous
#9A9D23 #5D9D23 #239D26
triadic
#5D9D23 #235D9D #9D235D
tetradic
#5D9D23 #239A9D #63239D #9D2623
square
#5D9D23 #239A9D #63239D #9D2623
split-complementary
#5D9D23 #26239D #9D239A
monochromatic
#22390D #3F6B18 #5D9D23 #7BCF2E #9ADB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D9D23#FFFFFF#000000##000000
##5D9D231.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)
#A39003
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#5D9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5d9d23;
/* rgb */ color: rgb(93, 157, 35);
/* oklch */ color: oklch(62.9% 0.164 133.8);
Tailwind
colors: {
  custom: {
    50: '#91ba68',
    500: '#5d9d23',
    950: '#000000',
  },
}
SCSS
$custom: #5d9d23;
$custom-light: #91ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9d23",
  "rgb": {
    "r": 93,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 91.475,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6293,
    "c": 0.16396,
    "h": 133.8
  },
  "luminance": 0.26562
}

Semantic roles & 50–950 ramp

primary
#5D9D23
secondary
#905CC0
accent
#41E798
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5D9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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