#5D8F1B#5D8F1B

#5D8F1B is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.150 H 131.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5D8F1B
RGBrgb(93, 143, 27)
HSLhsl(86, 68%, 33%)
HSVhsv(86, 81%, 56%)
CMYKcmyk(35%, 0%, 81.1%, 43.9%)
CIE-LABlab(54.08, -34.70, 51.54)
CIE-LCHlch(54.08, 62.13, 123.95°)
OKLaboklab(59.25% -0.0987 0.1136)
OKLCHoklch(59.25% 0.15 131)
XYZxyz(14.5344, 22.0507, 4.5271)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8F1B #4D1B8F
analogous
#8F871B #5D8F1B #238F1B
triadic
#5D8F1B #1B5D8F #8F1B5D
tetradic
#5D8F1B #1B8F87 #4D1B8F #8F1B23
square
#5D8F1B #1B8F87 #4D1B8F #8F1B23
split-complementary
#5D8F1B #1B238F #871B8F
monochromatic
#1A2808 #3C5C11 #5D8F1B #7EC225 #9CDC48

Accessibility & contrast

On white

3.88
#5D8F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5D8F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8F1B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8F1B#FFFFFF#000000##000000
##5D8F1B1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#5F897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8f1b;
/* rgb */ color: rgb(93, 143, 27);
/* oklch */ color: oklch(59.3% 0.150 131.0);
Tailwind
colors: {
  custom: {
    50: '#90b062',
    500: '#5d8f1b',
    950: '#000000',
  },
}
SCSS
$custom: #5d8f1b;
$custom-light: #90b062;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8f1b",
  "rgb": {
    "r": 93,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 85.862,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.15048,
    "h": 131
  },
  "luminance": 0.22051
}

Semantic roles & 50–950 ramp

primary
#5D8F1B
secondary
#7B48BE
accent
#3DEB88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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