#5D8529#5D8529

#5D8529 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.8% C 0.129 H 129.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5D8529
RGBrgb(93, 133, 41)
HSLhsl(86, 53%, 34%)
HSVhsv(86, 69%, 52%)
CMYKcmyk(30.1%, 0%, 69.2%, 47.8%)
CIE-LABlab(50.99, -29.17, 43.34)
CIE-LCHlch(50.99, 52.24, 123.94°)
OKLaboklab(56.76% -0.0825 0.0986)
OKLCHoklch(56.76% 0.129 129.9)
XYZxyz(13.3019, 19.2619, 5.1145)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8529 #512985
analogous
#857F29 #5D8529 #2F8529
triadic
#5D8529 #295D85 #85295D
tetradic
#5D8529 #29857F #512985 #85292F
square
#5D8529 #29857F #512985 #85292F
split-complementary
#5D8529 #292F85 #7F2985
monochromatic
#1C270C #3C561B #5D8529 #7EB437 #9CCD5C

Accessibility & contrast

On white

4.33
#5D8529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5D8529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8529
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8529#FFFFFF#000000##000000
##5D85291.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1C
Deuteranopia (green-blind)
#867831
Tritanopia (blue-blind)
#5F7F72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d8529;
/* rgb */ color: rgb(93, 133, 41);
/* oklch */ color: oklch(56.8% 0.129 129.9);
Tailwind
colors: {
  custom: {
    50: '#8ea868',
    500: '#5d8529',
    950: '#000000',
  },
}
SCSS
$custom: #5d8529;
$custom-light: #8ea868;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8529",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 86.087,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.1286,
    "h": 129.9
  },
  "luminance": 0.19262
}

Semantic roles & 50–950 ramp

primary
#5D8529
secondary
#7F58B2
accent
#4CDC8A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5D8529

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

Preview Lab → · Contrast checker → · Palette generator →

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