#5D9931#5D9931

#5D9931 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.0% C 0.150 H 134.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5D9931
RGBrgb(93, 153, 49)
HSLhsl(95, 51%, 40%)
HSVhsv(95, 68%, 60%)
CMYKcmyk(39.2%, 0%, 68%, 40%)
CIE-LABlab(57.40, -37.67, 46.70)
CIE-LCHlch(57.40, 60.00, 128.89°)
OKLaboklab(62% -0.1051 0.1068)
OKLCHoklch(62% 0.15 134.5)
XYZxyz(16.4595, 25.3306, 6.9272)
Luminance0.2533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9931 #6D3199
analogous
#919931 #5D9931 #319939
triadic
#5D9931 #315D99 #99315D
tetradic
#5D9931 #319199 #6D3199 #993931
square
#5D9931 #319199 #6D3199 #993931
split-complementary
#5D9931 #393199 #993191
monochromatic
#253C13 #416B22 #5D9931 #7AC344 #9BD272

Accessibility & contrast

On white

3.46
#5D9931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5D9931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9931
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9931#FFFFFF#000000##000000
##5D99311.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D23
Deuteranopia (green-blind)
#97883A
Tritanopia (blue-blind)
#5C9384
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5d9931;
/* rgb */ color: rgb(93, 153, 49);
/* oklch */ color: oklch(62.0% 0.150 134.5);
Tailwind
colors: {
  custom: {
    50: '#8fb76f',
    500: '#5d9931',
    950: '#000000',
  },
}
SCSS
$custom: #5d9931;
$custom-light: #8fb76f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9931",
  "rgb": {
    "r": 93,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 94.615,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62003,
    "c": 0.14981,
    "h": 134.5
  },
  "luminance": 0.25331
}

Semantic roles & 50–950 ramp

primary
#5D9931
secondary
#996CBA
accent
#4DDB9F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5D9931

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

Preview Lab → · Contrast checker → · Palette generator →

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