#5D7C2B#5D7C2B

#5D7C2B is a mid, moderate yellow-green. Relative luminance 0.169; OKLCH L 54.5% C 0.114 H 127.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5D7C2B
RGBrgb(93, 124, 43)
HSLhsl(83, 49%, 33%)
HSVhsv(83, 65%, 49%)
CMYKcmyk(25%, 0%, 65.3%, 51.4%)
CIE-LABlab(48.15, -24.60, 39.43)
CIE-LCHlch(48.15, 46.47, 121.96°)
OKLaboklab(54.47% -0.0698 0.0906)
OKLCHoklch(54.47% 0.114 127.6)
XYZxyz(12.1579, 16.9167, 4.9097)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7C2B #4A2B7C
analogous
#7C722B #5D7C2B #347C2B
triadic
#5D7C2B #2B5D7C #7C2B5D
tetradic
#5D7C2B #2B7C72 #4A2B7C #7C2B34
square
#5D7C2B #2B7C72 #4A2B7C #7C2B34
split-complementary
#5D7C2B #2B347C #722B7C
monochromatic
#19210B #3B4F1B #5D7C2B #7FA93B #9DC65B

Accessibility & contrast

On white

4.79
#5D7C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5D7C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7C2B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7C2B#FFFFFF#000000##FFFFFF
##5D7C2B1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d7c2b;
/* rgb */ color: rgb(93, 124, 43);
/* oklch */ color: oklch(54.5% 0.114 127.6);
Tailwind
colors: {
  custom: {
    50: '#8da268',
    500: '#5d7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #5d7c2b;
$custom-light: #8da268;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7c2b",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 82.963,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.1144,
    "h": 127.6
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

primary
#5D7C2B
secondary
#7757AC
accent
#50D884
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0F06
muted
#7D7E7A

Preview Lab

Preview with #5D7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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