#5D7D24#5D7D24

#5D7D24 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.121 H 127.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5D7D24
RGBrgb(93, 125, 36)
HSLhsl(82, 55%, 32%)
HSVhsv(82, 71%, 49%)
CMYKcmyk(25.6%, 0%, 71.2%, 51%)
CIE-LABlab(48.41, -25.66, 42.78)
CIE-LCHlch(48.41, 49.88, 120.95°)
OKLaboklab(54.66% -0.0734 0.0967)
OKLCHoklch(54.66% 0.121 127.2)
XYZxyz(12.1663, 17.1215, 4.3325)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D24 #44247D
analogous
#7D7124 #5D7D24 #317D24
triadic
#5D7D24 #245D7D #7D245D
tetradic
#5D7D24 #247D71 #44247D #7D2431
square
#5D7D24 #247D71 #44247D #7D2431
split-complementary
#5D7D24 #24317D #71247D
monochromatic
#161E09 #3A4D16 #5D7D24 #80AD32 #9FCC4F

Accessibility & contrast

On white

4.75
#5D7D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5D7D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D24
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D24#FFFFFF#000000##FFFFFF
##5D7D241.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847416
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#61776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7d24;
/* rgb */ color: rgb(93, 125, 36);
/* oklch */ color: oklch(54.7% 0.121 127.2);
Tailwind
colors: {
  custom: {
    50: '#8ea264',
    500: '#5d7d24',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d24;
$custom-light: #8ea264;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d24",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 81.573,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54656,
    "c": 0.12136,
    "h": 127.2
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#5D7D24
secondary
#714DAF
accent
#49DF7F
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5D7D24

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

Preview Lab → · Contrast checker → · Palette generator →

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