#5D8E1C#5D8E1C

#5D8E1C 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#5D8E1C
RGBrgb(93, 142, 28)
HSLhsl(86, 67%, 33%)
HSVhsv(86, 80%, 56%)
CMYKcmyk(34.5%, 0%, 80.3%, 44.3%)
CIE-LABlab(53.77, -34.19, 50.94)
CIE-LCHlch(53.77, 61.35, 123.87°)
OKLaboklab(59% -0.0972 0.1125)
OKLCHoklch(59% 0.149 130.8)
XYZxyz(14.3967, 21.7565, 4.5393)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E1C #4D1C8E
analogous
#8E861C #5D8E1C #248E1C
triadic
#5D8E1C #1C5D8E #8E1C5D
tetradic
#5D8E1C #1C8E86 #4D1C8E #8E1C24
square
#5D8E1C #1C8E86 #4D1C8E #8E1C24
split-complementary
#5D8E1C #1C248E #861C8E
monochromatic
#1A2808 #3C5B12 #5D8E1C #7EC126 #9CDB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8E1C#FFFFFF#000000##000000
##5D8E1C1.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: #5d8e1c;
/* rgb */ color: rgb(93, 142, 28);
/* oklch */ color: oklch(59.0% 0.149 130.8);
Tailwind
colors: {
  custom: {
    50: '#8faf63',
    500: '#5d8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e1c;
$custom-light: #8faf63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e1c",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 85.789,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58996,
    "c": 0.14871,
    "h": 130.8
  },
  "luminance": 0.21757
}

Semantic roles & 50–950 ramp

primary
#5D8E1C
secondary
#7B49BD
accent
#3EEA88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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