#5D9C2D#5D9C2D

#5D9C2D is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.7% C 0.157 H 134.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5D9C2D
RGBrgb(93, 156, 45)
HSLhsl(94, 55%, 39%)
HSVhsv(94, 71%, 61%)
CMYKcmyk(40.4%, 0%, 71.2%, 38.8%)
CIE-LABlab(58.31, -39.29, 49.29)
CIE-LCHlch(58.31, 63.04, 128.56°)
OKLaboklab(62.74% -0.1098 0.1117)
OKLCHoklch(62.74% 0.157 134.5)
XYZxyz(16.8760, 26.2927, 6.6679)
Luminance0.2629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9C2D #6C2D9C
analogous
#959C2D #5D9C2D #2D9C35
triadic
#5D9C2D #2D5D9C #9C2D5D
tetradic
#5D9C2D #2D959C #6C2D9C #9C352D
square
#5D9C2D #2D959C #6C2D9C #9C352D
split-complementary
#5D9C2D #352D9C #9C2D95
monochromatic
#243D12 #416D1F #5D9C2D #7AC83F #9BD56E

Accessibility & contrast

On white

3.36
#5D9C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5D9C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9C2D
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9C2D#FFFFFF#000000##000000
##5D9C2D1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1B
Deuteranopia (green-blind)
#998A37
Tritanopia (blue-blind)
#5C9686
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5d9c2d;
/* rgb */ color: rgb(93, 156, 45);
/* oklch */ color: oklch(62.7% 0.157 134.5);
Tailwind
colors: {
  custom: {
    50: '#90b96d',
    500: '#5d9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #5d9c2d;
$custom-light: #90b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9c2d",
  "rgb": {
    "r": 93,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 94.054,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62744,
    "c": 0.15661,
    "h": 134.5
  },
  "luminance": 0.26294
}

Semantic roles & 50–950 ramp

primary
#5D9C2D
secondary
#9868BC
accent
#49DF9E
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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