#5D8B1E#5D8B1E

#5D8B1E is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.2% C 0.144 H 130.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5D8B1E
RGBrgb(93, 139, 30)
HSLhsl(85, 64%, 33%)
HSVhsv(85, 78%, 55%)
CMYKcmyk(33.1%, 0%, 78.4%, 45.5%)
CIE-LABlab(52.82, -32.72, 49.40)
CIE-LCHlch(52.82, 59.25, 123.52°)
OKLaboklab(58.23% -0.0931 0.1096)
OKLCHoklch(58.23% 0.144 130.4)
XYZxyz(13.9811, 20.8857, 4.5227)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B1E #4C1E8B
analogous
#8B821E #5D8B1E #268B1E
triadic
#5D8B1E #1E5D8B #8B1E5D
tetradic
#5D8B1E #1E8B82 #4C1E8B #8B1E26
square
#5D8B1E #1E8B82 #4C1E8B #8B1E26
split-complementary
#5D8B1E #1E268B #821E8B
monochromatic
#1A2608 #3B5913 #5D8B1E #7FBD29 #9DD84B

Accessibility & contrast

On white

4.06
#5D8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5D8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8B1E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8B1E#FFFFFF#000000##000000
##5D8B1E1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928003
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#5F8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b1e;
/* rgb */ color: rgb(93, 139, 30);
/* oklch */ color: oklch(58.2% 0.144 130.4);
Tailwind
colors: {
  custom: {
    50: '#8fad63',
    500: '#5d8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b1e;
$custom-light: #8fad63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b1e",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 85.321,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5823,
    "c": 0.1438,
    "h": 130.4
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#5D8B1E
secondary
#7A4ABB
accent
#40E787
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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