#5D7B2E#5D7B2E

#5D7B2E is a mid, moderate yellow-green. Relative luminance 0.167; OKLCH L 54.2% C 0.110 H 127.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5D7B2E
RGBrgb(93, 123, 46)
HSLhsl(83, 46%, 33%)
HSVhsv(83, 63%, 48%)
CMYKcmyk(24.4%, 0%, 62.6%, 51.8%)
CIE-LABlab(47.87, -23.83, 37.70)
CIE-LCHlch(47.87, 44.60, 122.30°)
OKLaboklab(54.24% -0.0674 0.0874)
OKLCHoklch(54.24% 0.11 127.6)
XYZxyz(12.0903, 16.6901, 5.1688)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7B2E #4C2E7B
analogous
#7B722E #5D7B2E #367B2E
triadic
#5D7B2E #2E5D7B #7B2E5D
tetradic
#5D7B2E #2E7B72 #4C2E7B #7B2E36
square
#5D7B2E #2E7B72 #4C2E7B #7B2E36
split-complementary
#5D7B2E #2E367B #722E7B
monochromatic
#1A220D #3B4E1D #5D7B2E #7FA83F #9DC360

Accessibility & contrast

On white

4.84
#5D7B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5D7B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7B2E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7B2E#FFFFFF#000000##FFFFFF
##5D7B2E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#60766B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d7b2e;
/* rgb */ color: rgb(93, 123, 46);
/* oklch */ color: oklch(54.2% 0.110 127.6);
Tailwind
colors: {
  custom: {
    50: '#8da16a',
    500: '#5d7b2e',
    950: '#000000',
  },
}
SCSS
$custom: #5d7b2e;
$custom-light: #8da16a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7b2e",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 83.377,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54243,
    "c": 0.11032,
    "h": 127.6
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#5D7B2E
secondary
#7A5BAA
accent
#53D585
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F07
muted
#7D7E7A

Preview Lab

Preview with #5D7B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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