#5D9F2F#5D9F2F

#5D9F2F is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.5% C 0.159 H 135.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5D9F2F
RGBrgb(93, 159, 47)
HSLhsl(95, 54%, 40%)
HSVhsv(95, 70%, 62%)
CMYKcmyk(41.5%, 0%, 70.4%, 37.6%)
CIE-LABlab(59.28, -40.43, 49.49)
CIE-LCHlch(59.28, 63.91, 129.24°)
OKLaboklab(63.54% -0.1127 0.1124)
OKLCHoklch(63.54% 0.159 135.1)
XYZxyz(17.4250, 27.3277, 7.0454)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9F2F #712F9F
analogous
#959F2F #5D9F2F #2F9F39
triadic
#5D9F2F #2F5D9F #9F2F5D
tetradic
#5D9F2F #2F959F #712F9F #9F392F
square
#5D9F2F #2F959F #712F9F #9F392F
split-complementary
#5D9F2F #392F9F #9F2F95
monochromatic
#264113 #417021 #5D9F2F #7AC844 #9BD673

Accessibility & contrast

On white

3.25
#5D9F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#5D9F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9F2F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9F2F#FFFFFF#000000##000000
##5D9F2F1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921E
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#5B9989
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5d9f2f;
/* rgb */ color: rgb(93, 159, 47);
/* oklch */ color: oklch(63.5% 0.159 135.1);
Tailwind
colors: {
  custom: {
    50: '#90bc6e',
    500: '#5d9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #5d9f2f;
$custom-light: #90bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9f2f",
  "rgb": {
    "r": 93,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 95.357,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63536,
    "c": 0.15916,
    "h": 135.1
  },
  "luminance": 0.27329
}

Semantic roles & 50–950 ramp

primary
#5D9F2F
secondary
#9C6DBD
accent
#4ADEA1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5D9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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