#5D8B1B#5D8B1B

#5D8B1B 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.17:1 contrast (WCAG AA passes).

Color values

HEX#5D8B1B
RGBrgb(93, 139, 27)
HSLhsl(85, 67%, 33%)
HSVhsv(85, 81%, 55%)
CMYKcmyk(33.1%, 0%, 80.6%, 45.5%)
CIE-LABlab(52.81, -32.88, 50.37)
CIE-LCHlch(52.81, 60.15, 123.14°)
OKLaboklab(58.21% -0.0938 0.1111)
OKLCHoklch(58.21% 0.145 130.2)
XYZxyz(13.9446, 20.8711, 4.3305)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B1B #491B8B
analogous
#8B811B #5D8B1B #258B1B
triadic
#5D8B1B #1B5D8B #8B1B5D
tetradic
#5D8B1B #1B8B81 #491B8B #8B1B25
square
#5D8B1B #1B8B81 #491B8B #8B1B25
split-complementary
#5D8B1B #1B258B #811B8B
monochromatic
#182507 #3B5811 #5D8B1B #7FBE25 #9EDB45

Accessibility & contrast

On white

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

On black

5.17
#5D8B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8B1B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8B1B#FFFFFF#000000##000000
##5D8B1B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#5F8576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b1b;
/* rgb */ color: rgb(93, 139, 27);
/* oklch */ color: oklch(58.2% 0.145 130.2);
Tailwind
colors: {
  custom: {
    50: '#8fad62',
    500: '#5d8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b1b;
$custom-light: #8fad62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b1b",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 84.643,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58212,
    "c": 0.1454,
    "h": 130.2
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#5D8B1B
secondary
#7645BC
accent
#3DEA84
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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