#5D8B1A#5D8B1A

#5D8B1A is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.2% C 0.146 H 130.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5D8B1A
RGBrgb(93, 139, 26)
HSLhsl(84, 68%, 32%)
HSVhsv(84, 81%, 55%)
CMYKcmyk(33.1%, 0%, 81.3%, 45.5%)
CIE-LABlab(52.80, -32.93, 50.67)
CIE-LCHlch(52.80, 60.43, 123.02°)
OKLaboklab(58.21% -0.094 0.1116)
OKLCHoklch(58.21% 0.146 130.1)
XYZxyz(13.9332, 20.8665, 4.2706)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B1A #481A8B
analogous
#8B811A #5D8B1A #248B1A
triadic
#5D8B1A #1A5D8B #8B1A5D
tetradic
#5D8B1A #1A8B81 #481A8B #8B1A24
square
#5D8B1A #1A8B81 #481A8B #8B1A24
split-complementary
#5D8B1A #1A248B #811A8B
monochromatic
#182407 #3B5710 #5D8B1A #7FBF24 #9EDC43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8B1A#FFFFFF#000000##000000
##5D8B1A1.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)
#8B7D26
Tritanopia (blue-blind)
#608576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b1a;
/* rgb */ color: rgb(93, 139, 26);
/* oklch */ color: oklch(58.2% 0.146 130.1);
Tailwind
colors: {
  custom: {
    50: '#8fad61',
    500: '#5d8b1a',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b1a;
$custom-light: #8fad61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b1a",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 84.425,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.1459,
    "h": 130.1
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#5D8B1A
secondary
#7544BD
accent
#3CEB84
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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