#5D8B19#5D8B19

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

Color values

HEX#5D8B19
RGBrgb(93, 139, 25)
HSLhsl(84, 70%, 32%)
HSVhsv(84, 82%, 55%)
CMYKcmyk(33.1%, 0%, 82%, 45.5%)
CIE-LABlab(52.80, -32.98, 50.97)
CIE-LCHlch(52.80, 60.71, 122.90°)
OKLaboklab(58.2% -0.0942 0.1121)
OKLCHoklch(58.2% 0.146 130)
XYZxyz(13.9222, 20.8621, 4.2128)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B19 #47198B
analogous
#8B8019 #5D8B19 #248B19
triadic
#5D8B19 #195D8B #8B195D
tetradic
#5D8B19 #198B80 #47198B #8B1924
square
#5D8B19 #198B80 #47198B #8B1924
split-complementary
#5D8B19 #19248B #80198B
monochromatic
#182306 #3A5710 #5D8B19 #80BF22 #9EDD41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8B19#FFFFFF#000000##000000
##5D8B191.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: #5d8b19;
/* rgb */ color: rgb(93, 139, 25);
/* oklch */ color: oklch(58.2% 0.146 130.0);
Tailwind
colors: {
  custom: {
    50: '#8fad61',
    500: '#5d8b19',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b19;
$custom-light: #8fad61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b19",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 84.211,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.582,
    "c": 0.14639,
    "h": 130
  },
  "luminance": 0.20863
}

Semantic roles & 50–950 ramp

primary
#5D8B19
secondary
#7442BE
accent
#3BEC83
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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