#5D8725#5D8725

#5D8725 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.2% C 0.134 H 130.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5D8725
RGBrgb(93, 135, 37)
HSLhsl(86, 57%, 34%)
HSVhsv(86, 73%, 53%)
CMYKcmyk(31.1%, 0%, 72.6%, 47.1%)
CIE-LABlab(51.60, -30.41, 45.61)
CIE-LCHlch(51.60, 54.82, 123.69°)
OKLaboklab(57.25% -0.0863 0.1028)
OKLCHoklch(57.25% 0.134 130)
XYZxyz(13.5120, 19.7883, 4.8575)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8725 #4F2587
analogous
#878025 #5D8725 #2C8725
triadic
#5D8725 #255D87 #87255D
tetradic
#5D8725 #258780 #4F2587 #87252C
square
#5D8725 #258780 #4F2587 #87252C
split-complementary
#5D8725 #252C87 #802587
monochromatic
#1B270B #3C5718 #5D8725 #7EB732 #9CD156

Accessibility & contrast

On white

4.24
#5D8725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5D8725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8725
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8725#FFFFFF#000000##000000
##5D87251.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D15
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#5F8174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d8725;
/* rgb */ color: rgb(93, 135, 37);
/* oklch */ color: oklch(57.2% 0.134 130.0);
Tailwind
colors: {
  custom: {
    50: '#8eaa66',
    500: '#5d8725',
    950: '#000000',
  },
}
SCSS
$custom: #5d8725;
$custom-light: #8eaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8725",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 85.714,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57245,
    "c": 0.1342,
    "h": 130
  },
  "luminance": 0.19789
}

Semantic roles & 50–950 ramp

primary
#5D8725
secondary
#7D53B5
accent
#48E089
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8725

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

Preview Lab → · Contrast checker → · Palette generator →

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