#5D8919#5D8919

#5D8919 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.144 H 129.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5D8919
RGBrgb(93, 137, 25)
HSLhsl(84, 69%, 32%)
HSVhsv(84, 82%, 54%)
CMYKcmyk(32.1%, 0%, 81.8%, 46.3%)
CIE-LABlab(52.16, -32.05, 50.39)
CIE-LCHlch(52.16, 59.72, 122.46°)
OKLaboklab(57.68% -0.0917 0.1109)
OKLCHoklch(57.68% 0.144 129.6)
XYZxyz(13.6353, 20.2882, 4.1171)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8919 #451989
analogous
#897D19 #5D8919 #258919
triadic
#5D8919 #195D89 #89195D
tetradic
#5D8919 #19897D #451989 #891925
square
#5D8919 #19897D #451989 #891925
split-complementary
#5D8919 #192589 #7D1989
monochromatic
#172106 #3A5510 #5D8919 #80BD22 #9FDC40

Accessibility & contrast

On white

4.15
#5D8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5D8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8919
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8919#FFFFFF#000000##000000
##5D89191.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#608375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d8919;
/* rgb */ color: rgb(93, 137, 25);
/* oklch */ color: oklch(57.7% 0.144 129.6);
Tailwind
colors: {
  custom: {
    50: '#8fab61',
    500: '#5d8919',
    950: '#000000',
  },
}
SCSS
$custom: #5d8919;
$custom-light: #8fab61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8919",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 83.571,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57682,
    "c": 0.14385,
    "h": 129.6
  },
  "luminance": 0.20289
}

Semantic roles & 50–950 ramp

primary
#5D8919
secondary
#7241BC
accent
#3CEC81
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5D8919

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

Preview Lab → · Contrast checker → · Palette generator →

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