#5D8F1A#5D8F1A

#5D8F1A is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.2% C 0.151 H 130.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5D8F1A
RGBrgb(93, 143, 26)
HSLhsl(86, 69%, 33%)
HSVhsv(86, 82%, 56%)
CMYKcmyk(35%, 0%, 81.8%, 43.9%)
CIE-LABlab(54.08, -34.74, 51.84)
CIE-LCHlch(54.08, 62.41, 123.83°)
OKLaboklab(59.24% -0.0989 0.1141)
OKLCHoklch(59.24% 0.151 130.9)
XYZxyz(14.5230, 22.0461, 4.4672)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8F1A #4C1A8F
analogous
#8F861A #5D8F1A #228F1A
triadic
#5D8F1A #1A5D8F #8F1A5D
tetradic
#5D8F1A #1A8F86 #4C1A8F #8F1A22
square
#5D8F1A #1A8F86 #4C1A8F #8F1A22
split-complementary
#5D8F1A #1A228F #861A8F
monochromatic
#1A2707 #3B5B11 #5D8F1A #7FC323 #9DDD46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8F1A#FFFFFF#000000##000000
##5D8F1A1.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)
#8F8027
Tritanopia (blue-blind)
#5F897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8f1a;
/* rgb */ color: rgb(93, 143, 26);
/* oklch */ color: oklch(59.2% 0.151 130.9);
Tailwind
colors: {
  custom: {
    50: '#90b062',
    500: '#5d8f1a',
    950: '#000000',
  },
}
SCSS
$custom: #5d8f1a;
$custom-light: #90b062;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8f1a",
  "rgb": {
    "r": 93,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 85.641,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59244,
    "c": 0.15095,
    "h": 130.9
  },
  "luminance": 0.22047
}

Semantic roles & 50–950 ramp

primary
#5D8F1A
secondary
#7A46BF
accent
#3CEC87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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