#5D8E1A#5D8E1A

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

Color values

HEX#5D8E1A
RGBrgb(93, 142, 26)
HSLhsl(85, 69%, 33%)
HSVhsv(85, 82%, 56%)
CMYKcmyk(34.5%, 0%, 81.7%, 44.3%)
CIE-LABlab(53.76, -34.29, 51.55)
CIE-LCHlch(53.76, 61.91, 123.63°)
OKLaboklab(58.99% -0.0977 0.1135)
OKLCHoklch(58.99% 0.15 130.7)
XYZxyz(14.3736, 21.7472, 4.4174)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E1A #4B1A8E
analogous
#8E851A #5D8E1A #238E1A
triadic
#5D8E1A #1A5D8E #8E1A5D
tetradic
#5D8E1A #1A8E85 #4B1A8E #8E1A23
square
#5D8E1A #1A8E85 #4B1A8E #8E1A23
split-complementary
#5D8E1A #1A238E #851A8E
monochromatic
#192707 #3B5A11 #5D8E1A #7FC223 #9DDD45

Accessibility & contrast

On white

3.93
#5D8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8E1A#FFFFFF#000000##000000
##5D8E1A1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#5F8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8e1a;
/* rgb */ color: rgb(93, 142, 26);
/* oklch */ color: oklch(59.0% 0.150 130.7);
Tailwind
colors: {
  custom: {
    50: '#90af62',
    500: '#5d8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e1a;
$custom-light: #90af62;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e1a",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 85.345,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58985,
    "c": 0.1497,
    "h": 130.7
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

primary
#5D8E1A
secondary
#7945BE
accent
#3CEC86
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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