#5D6538#5D6538

#5D6538 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.8% C 0.067 H 117.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5D6538
RGBrgb(93, 101, 56)
HSLhsl(71, 29%, 31%)
HSVhsv(71, 45%, 40%)
CMYKcmyk(7.9%, 0%, 44.6%, 60.4%)
CIE-LABlab(41.09, -10.96, 24.40)
CIE-LCHlch(41.09, 26.75, 114.19°)
OKLaboklab(48.83% -0.0304 0.0592)
OKLCHoklch(48.83% 0.067 117.2)
XYZxyz(9.8818, 11.9201, 5.5208)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6538 #403865
analogous
#655638 #5D6538 #466538
triadic
#5D6538 #385D65 #65385D
tetradic
#5D6538 #386556 #403865 #653846
square
#5D6538 #386556 #403865 #653846
split-complementary
#5D6538 #384665 #563865
monochromatic
#14160C #393E22 #5D6538 #818C4E #A1AD6B

Accessibility & contrast

On white

6.21
#5D6538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5D6538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6538
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6538#FFFFFF#000000##FFFFFF
##5D65381.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6134
Deuteranopia (green-blind)
#6A613A
Tritanopia (blue-blind)
#61615A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d6538;
/* rgb */ color: rgb(93, 101, 56);
/* oklch */ color: oklch(48.8% 0.067 117.2);
Tailwind
colors: {
  custom: {
    50: '#8c906f',
    500: '#5d6538',
    950: '#000000',
  },
}
SCSS
$custom: #5d6538;
$custom-light: #8c906f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6538",
  "rgb": {
    "r": 93,
    "g": 101,
    "b": 56
  },
  "hsl": {
    "h": 70.667,
    "s": 28.662,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48831,
    "c": 0.06657,
    "h": 117.2
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#5D6538
secondary
#6C6395
accent
#63C574
background
#F8F8F6
surface
#F0F0EC
border
#CBCBC7
text
#0C0C07
muted
#7D7D7A

Preview Lab

Preview with #5D6538

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

Preview Lab → · Contrast checker → · Palette generator →

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