#5D8E1D#5D8E1D

#5D8E1D is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.0% C 0.148 H 130.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D8E1D
RGBrgb(93, 142, 29)
HSLhsl(86, 66%, 34%)
HSVhsv(86, 80%, 56%)
CMYKcmyk(34.5%, 0%, 79.6%, 44.3%)
CIE-LABlab(53.77, -34.14, 50.62)
CIE-LCHlch(53.77, 61.06, 124.00°)
OKLaboklab(59% -0.097 0.112)
OKLCHoklch(59% 0.148 130.9)
XYZxyz(14.4089, 21.7613, 4.6033)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E1D #4E1D8E
analogous
#8E861D #5D8E1D #248E1D
triadic
#5D8E1D #1D5D8E #8E1D5D
tetradic
#5D8E1D #1D8E86 #4E1D8E #8E1D24
square
#5D8E1D #1D8E86 #4E1D8E #8E1D24
split-complementary
#5D8E1D #1D248E #861D8E
monochromatic
#1A2808 #3C5B13 #5D8E1D #7EC127 #9CDA4B

Accessibility & contrast

On white

3.92
#5D8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5D8E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8E1D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8E1D#FFFFFF#000000##000000
##5D8E1D1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#5F8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8e1d;
/* rgb */ color: rgb(93, 142, 29);
/* oklch */ color: oklch(59.0% 0.148 130.9);
Tailwind
colors: {
  custom: {
    50: '#8faf63',
    500: '#5d8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e1d;
$custom-light: #8faf63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e1d",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 86.018,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.14819,
    "h": 130.9
  },
  "luminance": 0.21762
}

Semantic roles & 50–950 ramp

primary
#5D8E1D
secondary
#7C4ABD
accent
#3FE989
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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