#5D8924#5D8924

#5D8924 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.8% C 0.138 H 130.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5D8924
RGBrgb(93, 137, 36)
HSLhsl(86, 58%, 34%)
HSVhsv(86, 74%, 54%)
CMYKcmyk(32.1%, 0%, 73.7%, 46.3%)
CIE-LABlab(52.23, -31.42, 46.64)
CIE-LCHlch(52.23, 56.23, 123.97°)
OKLaboklab(57.75% -0.0891 0.1048)
OKLCHoklch(57.75% 0.138 130.4)
XYZxyz(13.7782, 20.3454, 4.8698)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8924 #502489
analogous
#898324 #5D8924 #2A8924
triadic
#5D8924 #245D89 #89245D
tetradic
#5D8924 #248983 #502489 #89242A
square
#5D8924 #248983 #502489 #89242A
split-complementary
#5D8924 #242A89 #832489
monochromatic
#1B280B #3C5917 #5D8924 #7EB931 #9CD255

Accessibility & contrast

On white

4.14
#5D8924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5D8924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8924
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8924#FFFFFF#000000##000000
##5D89241.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F12
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#5F8375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d8924;
/* rgb */ color: rgb(93, 137, 36);
/* oklch */ color: oklch(57.8% 0.138 130.4);
Tailwind
colors: {
  custom: {
    50: '#8fab66',
    500: '#5d8924',
    950: '#000000',
  },
}
SCSS
$custom: #5d8924;
$custom-light: #8fab66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8924",
  "rgb": {
    "r": 93,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 86.139,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.13755,
    "h": 130.4
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#5D8924
secondary
#7E52B7
accent
#46E28A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8924

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

Preview Lab → · Contrast checker → · Palette generator →

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