#5B8B1E#5B8B1E

#5B8B1E is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.145 H 131.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5B8B1E
RGBrgb(91, 139, 30)
HSLhsl(86, 64%, 33%)
HSVhsv(86, 78%, 55%)
CMYKcmyk(34.5%, 0%, 78.4%, 45.5%)
CIE-LABlab(52.71, -33.49, 49.25)
CIE-LCHlch(52.71, 59.56, 124.22°)
OKLaboklab(58.11% -0.0951 0.1093)
OKLCHoklch(58.11% 0.145 131)
XYZxyz(13.7812, 20.7826, 4.5134)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8B1E #4E1E8B
analogous
#8B841E #5B8B1E #248B1E
triadic
#5B8B1E #1E5B8B #8B1E5B
tetradic
#5B8B1E #1E8B84 #4E1E8B #8B1E24
square
#5B8B1E #1E8B84 #4E1E8B #8B1E24
split-complementary
#5B8B1E #1E248B #841E8B
monochromatic
#192608 #3A5913 #5B8B1E #7CBD29 #9AD84B

Accessibility & contrast

On white

4.07
#5B8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5B8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8B1E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8B1E#FFFFFF#000000##000000
##5B8B1E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918003
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#5D8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b8b1e;
/* rgb */ color: rgb(91, 139, 30);
/* oklch */ color: oklch(58.1% 0.145 131.0);
Tailwind
colors: {
  custom: {
    50: '#8ead63',
    500: '#5b8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #5b8b1e;
$custom-light: #8ead63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8b1e",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 86.422,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.14488,
    "h": 131
  },
  "luminance": 0.20783
}

Semantic roles & 50–950 ramp

primary
#5B8B1E
secondary
#7C4ABB
accent
#40E78A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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