#5D982D#5D982D

#5D982D is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.7% C 0.151 H 134.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5D982D
RGBrgb(93, 152, 45)
HSLhsl(93, 54%, 39%)
HSVhsv(93, 70%, 60%)
CMYKcmyk(38.8%, 0%, 70.4%, 40.4%)
CIE-LABlab(57.05, -37.55, 47.99)
CIE-LCHlch(57.05, 60.94, 128.04°)
OKLaboklab(61.71% -0.1051 0.1089)
OKLCHoklch(61.71% 0.151 134)
XYZxyz(16.2158, 24.9723, 6.4478)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D982D #682D98
analogous
#92982D #5D982D #2D9832
triadic
#5D982D #2D5D98 #982D5D
tetradic
#5D982D #2D9298 #682D98 #98322D
square
#5D982D #2D9298 #682D98 #98322D
split-complementary
#5D982D #322D98 #982D92
monochromatic
#233A11 #40691F #5D982D #7AC53D #9AD36C

Accessibility & contrast

On white

3.50
#5D982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5D982D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D982D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D982D#FFFFFF#000000##000000
##5D982D1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1D
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#5D9283
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5d982d;
/* rgb */ color: rgb(93, 152, 45);
/* oklch */ color: oklch(61.7% 0.151 134.0);
Tailwind
colors: {
  custom: {
    50: '#90b76c',
    500: '#5d982d',
    950: '#000000',
  },
}
SCSS
$custom: #5d982d;
$custom-light: #90b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d982d",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 93.084,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61709,
    "c": 0.15135,
    "h": 134
  },
  "luminance": 0.24973
}

Semantic roles & 50–950 ramp

primary
#5D982D
secondary
#9566BA
accent
#4ADE9B
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D982D

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

Preview Lab → · Contrast checker → · Palette generator →

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