#5E982D#5E982D

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

Color values

HEX#5E982D
RGBrgb(94, 152, 45)
HSLhsl(93, 54%, 39%)
HSVhsv(93, 70%, 60%)
CMYKcmyk(38.2%, 0%, 70.4%, 40.4%)
CIE-LABlab(57.10, -37.19, 48.06)
CIE-LCHlch(57.10, 60.77, 127.74°)
OKLaboklab(61.77% -0.1042 0.1091)
OKLCHoklch(61.77% 0.151 133.7)
XYZxyz(16.3177, 25.0249, 6.4526)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E982D #672D98
analogous
#93982D #5E982D #2D9831
triadic
#5E982D #2D5E98 #982D5E
tetradic
#5E982D #2D9398 #672D98 #98312D
square
#5E982D #2D9398 #672D98 #98312D
split-complementary
#5E982D #312D98 #982D93
monochromatic
#243A11 #41691F #5E982D #7BC53D #9BD36C

Accessibility & contrast

On white

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

On black

6.01
#5E982D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E982D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E982D#FFFFFF#000000##000000
##5E982D1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e982d;
/* rgb */ color: rgb(94, 152, 45);
/* oklch */ color: oklch(61.8% 0.151 133.7);
Tailwind
colors: {
  custom: {
    50: '#90b76c',
    500: '#5e982d',
    950: '#000000',
  },
}
SCSS
$custom: #5e982d;
$custom-light: #90b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e982d",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 92.523,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61765,
    "c": 0.15081,
    "h": 133.7
  },
  "luminance": 0.25026
}

Semantic roles & 50–950 ramp

primary
#5E982D
secondary
#9466BA
accent
#4ADE9A
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5E982D

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

Preview Lab → · Contrast checker → · Palette generator →

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