#5B8D1E#5B8D1E

#5B8D1E is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.6% C 0.147 H 131.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5B8D1E
RGBrgb(91, 141, 30)
HSLhsl(87, 65%, 34%)
HSVhsv(87, 79%, 55%)
CMYKcmyk(35.5%, 0%, 78.7%, 44.7%)
CIE-LABlab(53.35, -34.40, 49.86)
CIE-LCHlch(53.35, 60.57, 124.60°)
OKLaboklab(58.63% -0.0975 0.1106)
OKLCHoklch(58.63% 0.147 131.4)
XYZxyz(14.0735, 21.3671, 4.6108)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8D1E #501E8D
analogous
#8D871E #5B8D1E #238D1E
triadic
#5B8D1E #1E5B8D #8D1E5B
tetradic
#5B8D1E #1E8D87 #501E8D #8D1E23
square
#5B8D1E #1E8D87 #501E8D #8D1E23
split-complementary
#5B8D1E #1E238D #871E8D
monochromatic
#1A2809 #3A5B13 #5B8D1E #7CBF29 #9AD94C

Accessibility & contrast

On white

3.98
#5B8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5B8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8D1E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8D1E#FFFFFF#000000##000000
##5B8D1E1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b8d1e;
/* rgb */ color: rgb(91, 141, 30);
/* oklch */ color: oklch(58.6% 0.147 131.4);
Tailwind
colors: {
  custom: {
    50: '#8eae63',
    500: '#5b8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #5b8d1e;
$custom-light: #8eae63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8d1e",
  "rgb": {
    "r": 91,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 87.027,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58628,
    "c": 0.14745,
    "h": 131.4
  },
  "luminance": 0.21368
}

Semantic roles & 50–950 ramp

primary
#5B8D1E
secondary
#7E4BBC
accent
#40E88C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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