#5D7E34#5D7E34

#5D7E34 is a mid, moderate yellow-green. Relative luminance 0.175; OKLCH L 55.1% C 0.109 H 129.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5D7E34
RGBrgb(93, 126, 52)
HSLhsl(87, 42%, 35%)
HSVhsv(87, 59%, 49%)
CMYKcmyk(26.2%, 0%, 58.7%, 50.6%)
CIE-LABlab(48.88, -24.74, 35.92)
CIE-LCHlch(48.88, 43.61, 124.56°)
OKLaboklab(55.08% -0.0694 0.0842)
OKLCHoklch(55.08% 0.109 129.5)
XYZxyz(12.5948, 17.4965, 5.9617)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E34 #55347E
analogous
#7E7A34 #5D7E34 #387E34
triadic
#5D7E34 #345D7E #7E345D
tetradic
#5D7E34 #347E7A #55347E #7E3438
square
#5D7E34 #347E7A #55347E #7E3438
split-complementary
#5D7E34 #34387E #7A347E
monochromatic
#1D2710 #3D5322 #5D7E34 #7DA946 #9BC26B

Accessibility & contrast

On white

4.67
#5D7E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5D7E34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E34
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E34#FFFFFF#000000##FFFFFF
##5D7E341.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762C
Deuteranopia (green-blind)
#7F7339
Tritanopia (blue-blind)
#5F796E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e34;
/* rgb */ color: rgb(93, 126, 52);
/* oklch */ color: oklch(55.1% 0.109 129.5);
Tailwind
colors: {
  custom: {
    50: '#8da36e',
    500: '#5d7e34',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e34;
$custom-light: #8da36e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e34",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 86.757,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.1091,
    "h": 129.5
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#5D7E34
secondary
#8364AA
accent
#56D18D
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5D7E34

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

Preview Lab → · Contrast checker → · Palette generator →

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