#5D7331#5D7331

#5D7331 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.2% C 0.096 H 125.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5D7331
RGBrgb(93, 115, 49)
HSLhsl(80, 40%, 32%)
HSVhsv(80, 57%, 45%)
CMYKcmyk(19.1%, 0%, 57.4%, 54.9%)
CIE-LABlab(45.37, -19.41, 33.38)
CIE-LCHlch(45.37, 38.61, 120.19°)
OKLaboklab(52.24% -0.0548 0.0784)
OKLCHoklch(52.24% 0.096 125)
XYZxyz(11.1993, 14.8103, 5.1738)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7331 #473173
analogous
#736831 #5D7331 #3C7331
triadic
#5D7331 #315D73 #73315D
tetradic
#5D7331 #317368 #473173 #73313C
square
#5D7331 #317368 #473173 #73313C
split-complementary
#5D7331 #313C73 #683173
monochromatic
#181D0C #3A481F #5D7331 #809E43 #9EBC62

Accessibility & contrast

On white

5.30
#5D7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5D7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7331
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7331#FFFFFF#000000##FFFFFF
##5D73311.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2A
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#616E64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7331;
/* rgb */ color: rgb(93, 115, 49);
/* oklch */ color: oklch(52.2% 0.096 125.0);
Tailwind
colors: {
  custom: {
    50: '#8d9b6b',
    500: '#5d7331',
    950: '#000000',
  },
}
SCSS
$custom: #5d7331;
$custom-light: #8d9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7331",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 80,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.0957,
    "h": 125
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#5D7331
secondary
#745CA4
accent
#58D080
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5D7331

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

Preview Lab → · Contrast checker → · Palette generator →

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