#5D8819#5D8819

#5D8819 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.4% C 0.143 H 129.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5D8819
RGBrgb(93, 136, 25)
HSLhsl(83, 69%, 32%)
HSVhsv(83, 82%, 53%)
CMYKcmyk(31.6%, 0%, 81.6%, 46.7%)
CIE-LABlab(51.84, -31.59, 50.10)
CIE-LCHlch(51.84, 59.23, 122.23°)
OKLaboklab(57.42% -0.0904 0.1102)
OKLCHoklch(57.42% 0.143 129.4)
XYZxyz(13.4938, 20.0053, 4.0700)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8819 #441988
analogous
#887C19 #5D8819 #268819
triadic
#5D8819 #195D88 #88195D
tetradic
#5D8819 #19887C #441988 #881926
square
#5D8819 #19887C #441988 #881926
split-complementary
#5D8819 #192688 #7C1988
monochromatic
#162106 #3A540F #5D8819 #80BC23 #9FDC40

Accessibility & contrast

On white

4.20
#5D8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5D8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8819
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8819#FFFFFF#000000##000000
##5D88191.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#608274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d8819;
/* rgb */ color: rgb(93, 136, 25);
/* oklch */ color: oklch(57.4% 0.143 129.4);
Tailwind
colors: {
  custom: {
    50: '#8fab60',
    500: '#5d8819',
    950: '#000000',
  },
}
SCSS
$custom: #5d8819;
$custom-light: #8fab60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8819",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 83.243,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.14258,
    "h": 129.4
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#5D8819
secondary
#7141BB
accent
#3CEC80
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8819

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

Preview Lab → · Contrast checker → · Palette generator →

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