#5B982E#5B982E

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

Color values

HEX#5B982E
RGBrgb(91, 152, 46)
HSLhsl(95, 54%, 39%)
HSVhsv(95, 70%, 60%)
CMYKcmyk(40.1%, 0%, 69.7%, 40.4%)
CIE-LABlab(56.96, -38.18, 47.46)
CIE-LCHlch(56.96, 60.91, 128.82°)
OKLaboklab(61.61% -0.1066 0.108)
OKLCHoklch(61.61% 0.152 134.6)
XYZxyz(16.0354, 24.8771, 6.5411)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B982E #6B2E98
analogous
#90982E #5B982E #2E9836
triadic
#5B982E #2E5B98 #982E5B
tetradic
#5B982E #2E9098 #6B2E98 #98362E
square
#5B982E #2E9098 #6B2E98 #98362E
split-complementary
#5B982E #362E98 #982E90
monochromatic
#233A12 #3F6920 #5B982E #77C53E #99D36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B982E#FFFFFF#000000##000000
##5B982E1.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)
#9E8C1E
Deuteranopia (green-blind)
#958737
Tritanopia (blue-blind)
#5A9283
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b982e;
/* rgb */ color: rgb(91, 152, 46);
/* oklch */ color: oklch(61.6% 0.152 134.6);
Tailwind
colors: {
  custom: {
    50: '#8eb76d',
    500: '#5b982e',
    950: '#000000',
  },
}
SCSS
$custom: #5b982e;
$custom-light: #8eb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b982e",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 94.528,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.15172,
    "h": 134.6
  },
  "luminance": 0.24878
}

Semantic roles & 50–950 ramp

primary
#5B982E
secondary
#9768BA
accent
#4BDD9F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B982E

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

Preview Lab → · Contrast checker → · Palette generator →

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