#5B8E1E#5B8E1E

#5B8E1E is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.149 H 131.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5B8E1E
RGBrgb(91, 142, 30)
HSLhsl(87, 65%, 34%)
HSVhsv(87, 79%, 56%)
CMYKcmyk(35.9%, 0%, 78.9%, 44.3%)
CIE-LABlab(53.67, -34.85, 50.16)
CIE-LCHlch(53.67, 61.08, 124.79°)
OKLaboklab(58.89% -0.0987 0.1112)
OKLCHoklch(58.89% 0.149 131.6)
XYZxyz(14.2216, 21.6633, 4.6602)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8E1E #511E8E
analogous
#8E891E #5B8E1E #238E1E
triadic
#5B8E1E #1E5B8E #8E1E5B
tetradic
#5B8E1E #1E8E89 #511E8E #8E1E23
square
#5B8E1E #1E8E89 #511E8E #8E1E23
split-complementary
#5B8E1E #1E238E #891E8E
monochromatic
#1A2909 #3B5B13 #5B8E1E #7BC129 #99D94D

Accessibility & contrast

On white

3.94
#5B8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5B8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8E1E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8E1E#FFFFFF#000000##000000
##5B8E1E1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948301
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#5D8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b8e1e;
/* rgb */ color: rgb(91, 142, 30);
/* oklch */ color: oklch(58.9% 0.149 131.6);
Tailwind
colors: {
  custom: {
    50: '#8eaf63',
    500: '#5b8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5b8e1e;
$custom-light: #8eaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8e1e",
  "rgb": {
    "r": 91,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 87.321,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58888,
    "c": 0.14874,
    "h": 131.6
  },
  "luminance": 0.21664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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