#5D8E1B#5D8E1B

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

Color values

HEX#5D8E1B
RGBrgb(93, 142, 27)
HSLhsl(86, 68%, 33%)
HSVhsv(86, 81%, 56%)
CMYKcmyk(34.5%, 0%, 81%, 44.3%)
CIE-LABlab(53.76, -34.24, 51.25)
CIE-LCHlch(53.76, 61.64, 123.75°)
OKLaboklab(58.99% -0.0975 0.113)
OKLCHoklch(58.99% 0.149 130.8)
XYZxyz(14.3849, 21.7518, 4.4773)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E1B #4C1B8E
analogous
#8E851B #5D8E1B #248E1B
triadic
#5D8E1B #1B5D8E #8E1B5D
tetradic
#5D8E1B #1B8E85 #4C1B8E #8E1B24
square
#5D8E1B #1B8E85 #4C1B8E #8E1B24
split-complementary
#5D8E1B #1B248E #851B8E
monochromatic
#1A2707 #3B5B11 #5D8E1B #7FC125 #9DDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8E1B#FFFFFF#000000##000000
##5D8E1B1.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)
#958300
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#5F8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8e1b;
/* rgb */ color: rgb(93, 142, 27);
/* oklch */ color: oklch(59.0% 0.149 130.8);
Tailwind
colors: {
  custom: {
    50: '#8faf62',
    500: '#5d8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e1b;
$custom-light: #8faf62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e1b",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 85.565,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5899,
    "c": 0.14922,
    "h": 130.8
  },
  "luminance": 0.21752
}

Semantic roles & 50–950 ramp

primary
#5D8E1B
secondary
#7A47BE
accent
#3DEB87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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