#5D7124#5D7124

#5D7124 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.6% C 0.105 H 122.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5D7124
RGBrgb(93, 113, 36)
HSLhsl(76, 52%, 29%)
HSVhsv(76, 68%, 44%)
CMYKcmyk(17.7%, 0%, 68.1%, 55.7%)
CIE-LABlab(44.61, -19.54, 38.82)
CIE-LCHlch(44.61, 43.46, 116.72°)
OKLaboklab(51.58% -0.0565 0.0884)
OKLCHoklch(51.58% 0.105 122.6)
XYZxyz(10.7379, 14.2647, 3.8564)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7124 #382471
analogous
#715F24 #5D7124 #377124
triadic
#5D7124 #245D71 #71245D
tetradic
#5D7124 #24715F #382471 #712437
square
#5D7124 #24715F #382471 #712437
split-complementary
#5D7124 #243771 #5F2471
monochromatic
#131707 #374315 #5D7124 #839F33 #A5C54A

Accessibility & contrast

On white

5.45
#5D7124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5D7124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7124
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7124#FFFFFF#000000##FFFFFF
##5D71241.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1A
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#626B61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d7124;
/* rgb */ color: rgb(93, 113, 36);
/* oklch */ color: oklch(51.6% 0.105 122.6);
Tailwind
colors: {
  custom: {
    50: '#8d9963',
    500: '#5d7124',
    950: '#000000',
  },
}
SCSS
$custom: #5d7124;
$custom-light: #8d9963;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7124",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 75.584,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.10488,
    "h": 122.6
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#5D7124
secondary
#634DA4
accent
#4DDB72
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5D7124

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

Preview Lab → · Contrast checker → · Palette generator →

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