#5D9C2F#5D9C2F

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

Color values

HEX#5D9C2F
RGBrgb(93, 156, 47)
HSLhsl(95, 54%, 40%)
HSVhsv(95, 70%, 61%)
CMYKcmyk(40.4%, 0%, 69.9%, 38.8%)
CIE-LABlab(58.33, -39.14, 48.51)
CIE-LCHlch(58.33, 62.33, 128.90°)
OKLaboklab(62.76% -0.1092 0.1103)
OKLCHoklch(62.76% 0.155 134.7)
XYZxyz(16.9154, 26.3085, 6.8755)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9C2F #6E2F9C
analogous
#949C2F #5D9C2F #2F9C37
triadic
#5D9C2F #2F5D9C #9C2F5D
tetradic
#5D9C2F #2F949C #6E2F9C #9C372F
square
#5D9C2F #2F949C #6E2F9C #9C372F
split-complementary
#5D9C2F #372F9C #9C2F94
monochromatic
#253E13 #416D21 #5D9C2F #7AC642 #9BD471

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D9C2F#FFFFFF#000000##000000
##5D9C2F1.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)
#A28F1F
Deuteranopia (green-blind)
#998A39
Tritanopia (blue-blind)
#5C9686
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5d9c2f;
/* rgb */ color: rgb(93, 156, 47);
/* oklch */ color: oklch(62.8% 0.155 134.7);
Tailwind
colors: {
  custom: {
    50: '#90b96e',
    500: '#5d9c2f',
    950: '#000000',
  },
}
SCSS
$custom: #5d9c2f;
$custom-light: #90b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9c2f",
  "rgb": {
    "r": 93,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 94.679,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62761,
    "c": 0.15523,
    "h": 134.7
  },
  "luminance": 0.26309
}

Semantic roles & 50–950 ramp

primary
#5D9C2F
secondary
#9A6BBC
accent
#4BDD9F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D9C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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