#5D9C2E#5D9C2E

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

Color values

HEX#5D9C2E
RGBrgb(93, 156, 46)
HSLhsl(94, 54%, 40%)
HSVhsv(94, 71%, 61%)
CMYKcmyk(40.4%, 0%, 70.5%, 38.8%)
CIE-LABlab(58.32, -39.22, 48.91)
CIE-LCHlch(58.32, 62.69, 128.72°)
OKLaboklab(62.75% -0.1095 0.111)
OKLCHoklch(62.75% 0.156 134.6)
XYZxyz(16.8955, 26.3005, 6.7705)
Luminance0.2630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9C2E #6D2E9C
analogous
#949C2E #5D9C2E #2E9C36
triadic
#5D9C2E #2E5D9C #9C2E5D
tetradic
#5D9C2E #2E949C #6D2E9C #9C362E
square
#5D9C2E #2E949C #6D2E9C #9C362E
split-complementary
#5D9C2E #362E9C #9C2E94
monochromatic
#253D12 #416D20 #5D9C2E #7AC740 #9BD570

Accessibility & contrast

On white

3.35
#5D9C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D9C2E#FFFFFF#000000##000000
##5D9C2E1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d9c2e;
/* rgb */ color: rgb(93, 156, 46);
/* oklch */ color: oklch(62.8% 0.156 134.6);
Tailwind
colors: {
  custom: {
    50: '#90b96d',
    500: '#5d9c2e',
    950: '#000000',
  },
}
SCSS
$custom: #5d9c2e;
$custom-light: #90b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9c2e",
  "rgb": {
    "r": 93,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 94.364,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62752,
    "c": 0.15592,
    "h": 134.6
  },
  "luminance": 0.26301
}

Semantic roles & 50–950 ramp

primary
#5D9C2E
secondary
#996ABC
accent
#4ADE9F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D9C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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