#5D981E#5D981E

#5D981E is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.6% C 0.160 H 132.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5D981E
RGBrgb(93, 152, 30)
HSLhsl(89, 67%, 36%)
HSVhsv(89, 80%, 60%)
CMYKcmyk(38.8%, 0%, 80.3%, 40.4%)
CIE-LABlab(56.95, -38.52, 53.28)
CIE-LCHlch(56.95, 65.74, 125.87°)
OKLaboklab(61.6% -0.1088 0.1177)
OKLCHoklch(61.6% 0.16 132.7)
XYZxyz(15.9766, 24.8766, 5.1879)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D981E #591E98
analogous
#98961E #5D981E #20981E
triadic
#5D981E #1E5D98 #981E5D
tetradic
#5D981E #1E9896 #591E98 #981E20
square
#5D981E #1E9896 #591E98 #981E20
split-complementary
#5D981E #1E2098 #961E98
monochromatic
#1E320A #3E6514 #5D981E #7CCB28 #9ADD53

Accessibility & contrast

On white

3.51
#5D981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5D981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D981E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D981E#FFFFFF#000000##000000
##5D981E1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#5E9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5d981e;
/* rgb */ color: rgb(93, 152, 30);
/* oklch */ color: oklch(61.6% 0.160 132.7);
Tailwind
colors: {
  custom: {
    50: '#90b765',
    500: '#5d981e',
    950: '#000000',
  },
}
SCSS
$custom: #5d981e;
$custom-light: #90b765;
$custom-dark: #000000;
JSON
{
  "hex": "#5d981e",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 89.016,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.1603,
    "h": 132.7
  },
  "luminance": 0.24877
}

Semantic roles & 50–950 ramp

primary
#5D981E
secondary
#8751C0
accent
#3EEA91
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D981E

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

Preview Lab → · Contrast checker → · Palette generator →

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