#5D8B1C#5D8B1C

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

Color values

HEX#5D8B1C
RGBrgb(93, 139, 28)
HSLhsl(85, 66%, 33%)
HSVhsv(85, 80%, 55%)
CMYKcmyk(33.1%, 0%, 79.9%, 45.5%)
CIE-LABlab(52.81, -32.83, 50.05)
CIE-LCHlch(52.81, 59.85, 123.26°)
OKLaboklab(58.22% -0.0935 0.1106)
OKLCHoklch(58.22% 0.145 130.2)
XYZxyz(13.9563, 20.8758, 4.3925)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B1C #4A1C8B
analogous
#8B811C #5D8B1C #258B1C
triadic
#5D8B1C #1C5D8B #8B1C5D
tetradic
#5D8B1C #1C8B81 #4A1C8B #8B1C25
square
#5D8B1C #1C8B81 #4A1C8B #8B1C25
split-complementary
#5D8B1C #1C258B #811C8B
monochromatic
#192507 #3B5812 #5D8B1C #7FBE26 #9DDA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8B1C#FFFFFF#000000##000000
##5D8B1C1.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)
#928000
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#5F8576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b1c;
/* rgb */ color: rgb(93, 139, 28);
/* oklch */ color: oklch(58.2% 0.145 130.2);
Tailwind
colors: {
  custom: {
    50: '#8fad62',
    500: '#5d8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b1c;
$custom-light: #8fad62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b1c",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 84.865,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.14488,
    "h": 130.2
  },
  "luminance": 0.20876
}

Semantic roles & 50–950 ramp

primary
#5D8B1C
secondary
#7747BC
accent
#3EE985
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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