#5D7232#5D7232

#5D7232 is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 52.0% C 0.093 H 124.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5D7232
RGBrgb(93, 114, 50)
HSLhsl(80, 39%, 32%)
HSVhsv(80, 56%, 45%)
CMYKcmyk(18.4%, 0%, 56.1%, 55.3%)
CIE-LABlab(45.07, -18.78, 32.51)
CIE-LCHlch(45.07, 37.54, 120.02°)
OKLaboklab(52% -0.053 0.0767)
OKLCHoklch(52% 0.093 124.7)
XYZxyz(11.1073, 14.5920, 5.2484)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7232 #473272
analogous
#726732 #5D7232 #3D7232
triadic
#5D7232 #325D72 #72325D
tetradic
#5D7232 #327267 #473272 #72323D
square
#5D7232 #327267 #473272 #72323D
split-complementary
#5D7232 #323D72 #673272
monochromatic
#181D0D #3A471F #5D7232 #809D45 #9EBB64

Accessibility & contrast

On white

5.36
#5D7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5D7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7232
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7232#FFFFFF#000000##FFFFFF
##5D72321.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2C
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#616D64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7232;
/* rgb */ color: rgb(93, 114, 50);
/* oklch */ color: oklch(52.0% 0.093 124.7);
Tailwind
colors: {
  custom: {
    50: '#8c9a6c',
    500: '#5d7232',
    950: '#000000',
  },
}
SCSS
$custom: #5d7232;
$custom-light: #8c9a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7232",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 79.688,
    "s": 39.024,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.09318,
    "h": 124.7
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#5D7232
secondary
#745DA3
accent
#59CF80
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5D7232

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

Preview Lab → · Contrast checker → · Palette generator →

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