#5D8E1E#5D8E1E

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

Color values

HEX#5D8E1E
RGBrgb(93, 142, 30)
HSLhsl(86, 65%, 34%)
HSVhsv(86, 79%, 56%)
CMYKcmyk(34.5%, 0%, 78.9%, 44.3%)
CIE-LABlab(53.78, -34.09, 50.30)
CIE-LCHlch(53.78, 60.76, 124.12°)
OKLaboklab(59.01% -0.0968 0.1115)
OKLCHoklch(59.01% 0.148 131)
XYZxyz(14.4214, 21.7664, 4.6695)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E1E #4F1E8E
analogous
#8E871E #5D8E1E #258E1E
triadic
#5D8E1E #1E5D8E #8E1E5D
tetradic
#5D8E1E #1E8E87 #4F1E8E #8E1E25
square
#5D8E1E #1E8E87 #4F1E8E #8E1E25
split-complementary
#5D8E1E #1E258E #871E8E
monochromatic
#1B2909 #3C5B13 #5D8E1E #7EC129 #9CD94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8E1E#FFFFFF#000000##000000
##5D8E1E1.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)
#958301
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#5F8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8e1e;
/* rgb */ color: rgb(93, 142, 30);
/* oklch */ color: oklch(59.0% 0.148 131.0);
Tailwind
colors: {
  custom: {
    50: '#8faf63',
    500: '#5d8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e1e;
$custom-light: #8faf63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e1e",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 86.25,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.14765,
    "h": 131
  },
  "luminance": 0.21767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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