#5D9731#5D9731

#5D9731 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.5% C 0.147 H 134.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5D9731
RGBrgb(93, 151, 49)
HSLhsl(94, 51%, 39%)
HSVhsv(94, 68%, 59%)
CMYKcmyk(38.4%, 0%, 67.5%, 40.8%)
CIE-LABlab(56.76, -36.79, 46.03)
CIE-LCHlch(56.76, 58.92, 128.63°)
OKLaboklab(61.49% -0.1027 0.1054)
OKLCHoklch(61.49% 0.147 134.3)
XYZxyz(16.1349, 24.6814, 6.8190)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9731 #6B3197
analogous
#909731 #5D9731 #319738
triadic
#5D9731 #315D97 #97315D
tetradic
#5D9731 #319097 #6B3197 #973831
square
#5D9731 #319097 #6B3197 #973831
split-complementary
#5D9731 #383197 #973190
monochromatic
#243B13 #416922 #5D9731 #7AC243 #9BD171

Accessibility & contrast

On white

3.54
#5D9731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5D9731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9731
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9731#FFFFFF#000000##000000
##5D97311.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B23
Deuteranopia (green-blind)
#95863A
Tritanopia (blue-blind)
#5C9182
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d9731;
/* rgb */ color: rgb(93, 151, 49);
/* oklch */ color: oklch(61.5% 0.147 134.3);
Tailwind
colors: {
  custom: {
    50: '#8fb66e',
    500: '#5d9731',
    950: '#000000',
  },
}
SCSS
$custom: #5d9731;
$custom-light: #8fb66e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9731",
  "rgb": {
    "r": 93,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 94.118,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61487,
    "c": 0.14711,
    "h": 134.3
  },
  "luminance": 0.24682
}

Semantic roles & 50–950 ramp

primary
#5D9731
secondary
#976BB9
accent
#4DDA9E
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D9731

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

Preview Lab → · Contrast checker → · Palette generator →

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