#5D982F#5D982F

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

Color values

HEX#5D982F
RGBrgb(93, 152, 47)
HSLhsl(94, 53%, 39%)
HSVhsv(94, 69%, 60%)
CMYKcmyk(38.8%, 0%, 69.1%, 40.4%)
CIE-LABlab(57.06, -37.39, 47.19)
CIE-LCHlch(57.06, 60.21, 128.39°)
OKLaboklab(61.73% -0.1045 0.1075)
OKLCHoklch(61.73% 0.15 134.2)
XYZxyz(16.2552, 24.9881, 6.6555)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D982F #6A2F98
analogous
#92982F #5D982F #2F9835
triadic
#5D982F #2F5D98 #982F5D
tetradic
#5D982F #2F9298 #6A2F98 #98352F
square
#5D982F #2F9298 #6A2F98 #98352F
split-complementary
#5D982F #352F98 #982F92
monochromatic
#243B12 #406921 #5D982F #7AC440 #9BD26F

Accessibility & contrast

On white

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

On black

6.00
#5D982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D982F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D982F#FFFFFF#000000##000000
##5D982F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d982f;
/* rgb */ color: rgb(93, 152, 47);
/* oklch */ color: oklch(61.7% 0.150 134.2);
Tailwind
colors: {
  custom: {
    50: '#8fb76d',
    500: '#5d982f',
    950: '#000000',
  },
}
SCSS
$custom: #5d982f;
$custom-light: #8fb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d982f",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 93.714,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61727,
    "c": 0.14993,
    "h": 134.2
  },
  "luminance": 0.24989
}

Semantic roles & 50–950 ramp

primary
#5D982F
secondary
#9669BA
accent
#4CDC9D
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5D982F

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

Preview Lab → · Contrast checker → · Palette generator →

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