#5D9D2E#5D9D2E

#5D9D2E is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.0% C 0.157 H 134.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5D9D2E
RGBrgb(93, 157, 46)
HSLhsl(95, 55%, 40%)
HSVhsv(95, 71%, 62%)
CMYKcmyk(40.8%, 0%, 70.7%, 38.4%)
CIE-LABlab(58.64, -39.65, 49.23)
CIE-LCHlch(58.64, 63.21, 128.84°)
OKLaboklab(63.01% -0.1107 0.1117)
OKLCHoklch(63.01% 0.157 134.7)
XYZxyz(17.0640, 26.6375, 6.8267)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9D2E #6E2E9D
analogous
#949D2E #5D9D2E #2E9D37
triadic
#5D9D2E #2E5D9D #9D2E5D
tetradic
#5D9D2E #2E949D #6E2E9D #9D372E
square
#5D9D2E #2E949D #6E2E9D #9D372E
split-complementary
#5D9D2E #372E9D #9D2E94
monochromatic
#253E12 #416E20 #5D9D2E #7AC741 #9BD570

Accessibility & contrast

On white

3.32
#5D9D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5D9D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9D2E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9D2E#FFFFFF#000000##000000
##5D9D2E1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901D
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#5C9787
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5d9d2e;
/* rgb */ color: rgb(93, 157, 46);
/* oklch */ color: oklch(63.0% 0.157 134.7);
Tailwind
colors: {
  custom: {
    50: '#90ba6d',
    500: '#5d9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #5d9d2e;
$custom-light: #90ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9d2e",
  "rgb": {
    "r": 93,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 94.595,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63011,
    "c": 0.15723,
    "h": 134.7
  },
  "luminance": 0.26638
}

Semantic roles & 50–950 ramp

primary
#5D9D2E
secondary
#9A6ABD
accent
#4ADE9F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5D9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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