#5D6838#5D6838

#5D6838 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.6% C 0.071 H 119.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5D6838
RGBrgb(93, 104, 56)
HSLhsl(74, 30%, 31%)
HSVhsv(74, 46%, 41%)
CMYKcmyk(10.6%, 0%, 46.2%, 59.2%)
CIE-LABlab(42.02, -12.65, 25.57)
CIE-LCHlch(42.02, 28.53, 116.32°)
OKLaboklab(49.58% -0.0352 0.0619)
OKLCHoklch(49.58% 0.071 119.6)
XYZxyz(10.1784, 12.5133, 5.6197)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6838 #433868
analogous
#685B38 #5D6838 #456838
triadic
#5D6838 #385D68 #68385D
tetradic
#5D6838 #38685B #433868 #683845
square
#5D6838 #38685B #433868 #683845
split-complementary
#5D6838 #384568 #5B3868
monochromatic
#16180D #394023 #5D6838 #81904D #A0AF6B

Accessibility & contrast

On white

6.00
#5D6838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5D6838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6838
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6838#FFFFFF#000000##FFFFFF
##5D68381.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6334
Deuteranopia (green-blind)
#6C633A
Tritanopia (blue-blind)
#61645D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d6838;
/* rgb */ color: rgb(93, 104, 56);
/* oklch */ color: oklch(49.6% 0.071 119.6);
Tailwind
colors: {
  custom: {
    50: '#8c936f',
    500: '#5d6838',
    950: '#000000',
  },
}
SCSS
$custom: #5d6838;
$custom-light: #8c936f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6838",
  "rgb": {
    "r": 93,
    "g": 104,
    "b": 56
  },
  "hsl": {
    "h": 73.75,
    "s": 30,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.07116,
    "h": 119.6
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#5D6838
secondary
#706398
accent
#62C679
background
#F8F9F6
surface
#F0F1EC
border
#CBCBC7
text
#0C0D07
muted
#7D7E7A

Preview Lab

Preview with #5D6838

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

Preview Lab → · Contrast checker → · Palette generator →

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