#5D8331#5D8331

#5D8331 is a mid, moderate yellow-green. Relative luminance 0.188; OKLCH L 56.3% C 0.119 H 130.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5D8331
RGBrgb(93, 131, 49)
HSLhsl(88, 46%, 35%)
HSVhsv(88, 63%, 51%)
CMYKcmyk(29%, 0%, 62.6%, 48.6%)
CIE-LABlab(50.43, -27.51, 39.13)
CIE-LCHlch(50.43, 47.83, 125.11°)
OKLaboklab(56.33% -0.0773 0.0908)
OKLCHoklch(56.33% 0.119 130.4)
XYZxyz(13.1848, 18.7811, 5.8356)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8331 #573183
analogous
#838031 #5D8331 #348331
triadic
#5D8331 #315D83 #83315D
tetradic
#5D8331 #318380 #573183 #833134
square
#5D8331 #318380 #573183 #833134
split-complementary
#5D8331 #313483 #803183
monochromatic
#1E2A10 #3D5620 #5D8331 #7DB042 #9BC668

Accessibility & contrast

On white

4.42
#5D8331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5D8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8331
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8331#FFFFFF#000000##000000
##5D83311.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A28
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#5F7E72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d8331;
/* rgb */ color: rgb(93, 131, 49);
/* oklch */ color: oklch(56.3% 0.119 130.4);
Tailwind
colors: {
  custom: {
    50: '#8ea76d',
    500: '#5d8331',
    950: '#000000',
  },
}
SCSS
$custom: #5d8331;
$custom-light: #8ea76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8331",
  "rgb": {
    "r": 93,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 87.805,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.11919,
    "h": 130.4
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#5D8331
secondary
#8562AE
accent
#53D58F
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5D8331

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

Preview Lab → · Contrast checker → · Palette generator →

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