#5D8729#5D8729

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

Color values

HEX#5D8729
RGBrgb(93, 135, 41)
HSLhsl(87, 53%, 35%)
HSVhsv(87, 70%, 53%)
CMYKcmyk(31.1%, 0%, 69.6%, 47.1%)
CIE-LABlab(51.63, -30.12, 44.01)
CIE-LCHlch(51.63, 53.32, 124.39°)
OKLaboklab(57.28% -0.0851 0.1)
OKLCHoklch(57.28% 0.131 130.4)
XYZxyz(13.5783, 19.8148, 5.2066)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8729 #532987
analogous
#878229 #5D8729 #2E8729
triadic
#5D8729 #295D87 #87295D
tetradic
#5D8729 #298782 #532987 #87292E
square
#5D8729 #298782 #532987 #87292E
split-complementary
#5D8729 #292E87 #822987
monochromatic
#1C290C #3D581B #5D8729 #7DB637 #9BCE5D

Accessibility & contrast

On white

4.23
#5D8729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8729#FFFFFF#000000##000000
##5D87291.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#5F8174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d8729;
/* rgb */ color: rgb(93, 135, 41);
/* oklch */ color: oklch(57.3% 0.131 130.4);
Tailwind
colors: {
  custom: {
    50: '#8eaa68',
    500: '#5d8729',
    950: '#000000',
  },
}
SCSS
$custom: #5d8729;
$custom-light: #8eaa68;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8729",
  "rgb": {
    "r": 93,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 86.809,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.13133,
    "h": 130.4
  },
  "luminance": 0.19815
}

Semantic roles & 50–950 ramp

primary
#5D8729
secondary
#8159B3
accent
#4BDD8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8729

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

Preview Lab → · Contrast checker → · Palette generator →

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