#5D8D1E#5D8D1E

#5D8D1E is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.146 H 130.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D8D1E
RGBrgb(93, 141, 30)
HSLhsl(86, 65%, 34%)
HSVhsv(86, 79%, 55%)
CMYKcmyk(34%, 0%, 78.7%, 44.7%)
CIE-LABlab(53.46, -33.63, 50.00)
CIE-LCHlch(53.46, 60.26, 123.93°)
OKLaboklab(58.75% -0.0956 0.1109)
OKLCHoklch(58.75% 0.146 130.8)
XYZxyz(14.2733, 21.4701, 4.6202)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8D1E #4E1E8D
analogous
#8D851E #5D8D1E #258D1E
triadic
#5D8D1E #1E5D8D #8D1E5D
tetradic
#5D8D1E #1E8D85 #4E1E8D #8D1E25
square
#5D8D1E #1E8D85 #4E1E8D #8D1E25
split-complementary
#5D8D1E #1E258D #851E8D
monochromatic
#1A2809 #3C5B13 #5D8D1E #7EBF29 #9CD94C

Accessibility & contrast

On white

3.97
#5D8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5D8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8D1E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8D1E#FFFFFF#000000##000000
##5D8D1E1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948201
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#5F8778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8d1e;
/* rgb */ color: rgb(93, 141, 30);
/* oklch */ color: oklch(58.7% 0.146 130.8);
Tailwind
colors: {
  custom: {
    50: '#8fae63',
    500: '#5d8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #5d8d1e;
$custom-light: #8fae63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8d1e",
  "rgb": {
    "r": 93,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 85.946,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58748,
    "c": 0.14637,
    "h": 130.8
  },
  "luminance": 0.21471
}

Semantic roles & 50–950 ramp

primary
#5D8D1E
secondary
#7C4BBC
accent
#40E889
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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