#5B8D10#5B8D10

#5B8D10 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.6% C 0.154 H 130.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5B8D10
RGBrgb(91, 141, 16)
HSLhsl(84, 80%, 31%)
HSVhsv(84, 89%, 55%)
CMYKcmyk(35.5%, 0%, 88.7%, 44.7%)
CIE-LABlab(53.29, -35.02, 53.71)
CIE-LCHlch(53.29, 64.12, 123.11°)
OKLaboklab(58.56% -0.1001 0.1166)
OKLCHoklch(58.56% 0.154 130.6)
XYZxyz(13.9327, 21.3108, 3.8694)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8D10 #42108D
analogous
#8D8010 #5B8D10 #1C8D10
triadic
#5B8D10 #105B8D #8D105B
tetradic
#5B8D10 #108D80 #42108D #8D101C
square
#5B8D10 #108D80 #42108D #8D101C
split-complementary
#5B8D10 #101C8D #80108D
monochromatic
#141F04 #38560A #5B8D10 #7EC416 #9EE730

Accessibility & contrast

On white

3.99
#5B8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5B8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8D10
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8D10#FFFFFF#000000##000000
##5B8D101.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#5D8778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b8d10;
/* rgb */ color: rgb(91, 141, 16);
/* oklch */ color: oklch(58.6% 0.154 130.6);
Tailwind
colors: {
  custom: {
    50: '#8eae5e',
    500: '#5b8d10',
    950: '#000000',
  },
}
SCSS
$custom: #5b8d10;
$custom-light: #8eae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8d10",
  "rgb": {
    "r": 91,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 84,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58559,
    "c": 0.15362,
    "h": 130.6
  },
  "luminance": 0.21311
}

Semantic roles & 50–950 ramp

primary
#5B8D10
secondary
#6F37C2
accent
#32F680
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5B8D10

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

Preview Lab → · Contrast checker → · Palette generator →

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