#5D9F2A#5D9F2A

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

Color values

HEX#5D9F2A
RGBrgb(93, 159, 42)
HSLhsl(94, 58%, 39%)
HSVhsv(94, 74%, 62%)
CMYKcmyk(41.5%, 0%, 73.6%, 37.6%)
CIE-LABlab(59.24, -40.79, 51.38)
CIE-LCHlch(59.24, 65.61, 128.45°)
OKLaboklab(63.5% -0.1141 0.1156)
OKLCHoklch(63.5% 0.162 134.6)
XYZxyz(17.3299, 27.2897, 6.5443)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9F2A #6C2A9F
analogous
#989F2A #5D9F2A #2A9F31
triadic
#5D9F2A #2A5D9F #9F2A5D
tetradic
#5D9F2A #2A989F #6C2A9F #9F312A
square
#5D9F2A #2A989F #6C2A9F #9F312A
split-complementary
#5D9F2A #312A9F #9F2A98
monochromatic
#243E10 #416F1D #5D9F2A #7ACB3B #9BD86B

Accessibility & contrast

On white

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

On black

6.46
#5D9F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9F2A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9F2A#FFFFFF#000000##000000
##5D9F2A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59215
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#5C9988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5d9f2a;
/* rgb */ color: rgb(93, 159, 42);
/* oklch */ color: oklch(63.5% 0.162 134.6);
Tailwind
colors: {
  custom: {
    50: '#90bc6b',
    500: '#5d9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #5d9f2a;
$custom-light: #90bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9f2a",
  "rgb": {
    "r": 93,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 93.846,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63496,
    "c": 0.16243,
    "h": 134.6
  },
  "luminance": 0.27291
}

Semantic roles & 50–950 ramp

primary
#5D9F2A
secondary
#9866BF
accent
#46E19E
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5D9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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