#5D8D1B#5D8D1B

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

Color values

HEX#5D8D1B
RGBrgb(93, 141, 27)
HSLhsl(85, 68%, 33%)
HSVhsv(85, 81%, 55%)
CMYKcmyk(34%, 0%, 80.9%, 44.7%)
CIE-LABlab(53.44, -33.79, 50.95)
CIE-LCHlch(53.44, 61.14, 123.55°)
OKLaboklab(58.73% -0.0962 0.1124)
OKLCHoklch(58.73% 0.148 130.6)
XYZxyz(14.2368, 21.4555, 4.4279)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8D1B #4B1B8D
analogous
#8D841B #5D8D1B #248D1B
triadic
#5D8D1B #1B5D8D #8D1B5D
tetradic
#5D8D1B #1B8D84 #4B1B8D #8D1B24
square
#5D8D1B #1B8D84 #4B1B8D #8D1B24
split-complementary
#5D8D1B #1B248D #841B8D
monochromatic
#192607 #3B5A11 #5D8D1B #7FC025 #9DDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8D1B#FFFFFF#000000##000000
##5D8D1B1.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)
#948200
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#5F8778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8d1b;
/* rgb */ color: rgb(93, 141, 27);
/* oklch */ color: oklch(58.7% 0.148 130.6);
Tailwind
colors: {
  custom: {
    50: '#8fae62',
    500: '#5d8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #5d8d1b;
$custom-light: #8fae62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8d1b",
  "rgb": {
    "r": 93,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 85.263,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58731,
    "c": 0.14794,
    "h": 130.6
  },
  "luminance": 0.21456
}

Semantic roles & 50–950 ramp

primary
#5D8D1B
secondary
#7946BD
accent
#3DEB86
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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