#5D7D29#5D7D29

#5D7D29 is a mid, moderate yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.117 H 127.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5D7D29
RGBrgb(93, 125, 41)
HSLhsl(83, 51%, 33%)
HSVhsv(83, 67%, 49%)
CMYKcmyk(25.6%, 0%, 67.2%, 51%)
CIE-LABlab(48.45, -25.27, 40.66)
CIE-LCHlch(48.45, 47.87, 121.86°)
OKLaboklab(54.7% -0.0718 0.093)
OKLCHoklch(54.7% 0.117 127.7)
XYZxyz(12.2480, 17.1542, 4.7632)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D29 #49297D
analogous
#7D7329 #5D7D29 #337D29
triadic
#5D7D29 #295D7D #7D295D
tetradic
#5D7D29 #297D73 #49297D #7D2933
square
#5D7D29 #297D73 #49297D #7D2933
split-complementary
#5D7D29 #29337D #73297D
monochromatic
#18210B #3B4F1A #5D7D29 #7FAB38 #9EC858

Accessibility & contrast

On white

4.74
#5D7D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5D7D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D29
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D29#FFFFFF#000000##FFFFFF
##5D7D291.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741E
Deuteranopia (green-blind)
#7F7230
Tritanopia (blue-blind)
#60776C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d29;
/* rgb */ color: rgb(93, 125, 41);
/* oklch */ color: oklch(54.7% 0.117 127.7);
Tailwind
colors: {
  custom: {
    50: '#8ea267',
    500: '#5d7d29',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d29;
$custom-light: #8ea267;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d29",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 82.857,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.11748,
    "h": 127.7
  },
  "luminance": 0.17154
}

Semantic roles & 50–950 ramp

primary
#5D7D29
secondary
#7654AE
accent
#4EDA83
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5D7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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