#5B8E1A#5B8E1A

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

Color values

HEX#5B8E1A
RGBrgb(91, 142, 26)
HSLhsl(86, 69%, 33%)
HSVhsv(86, 82%, 56%)
CMYKcmyk(35.9%, 0%, 81.7%, 44.3%)
CIE-LABlab(53.65, -35.06, 51.41)
CIE-LCHlch(53.65, 62.22, 124.29°)
OKLaboklab(58.87% -0.0996 0.1132)
OKLCHoklch(58.87% 0.151 131.3)
XYZxyz(14.1737, 21.6442, 4.4080)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8E1A #4D1A8E
analogous
#8E871A #5B8E1A #218E1A
triadic
#5B8E1A #1A5B8E #8E1A5B
tetradic
#5B8E1A #1A8E87 #4D1A8E #8E1A21
square
#5B8E1A #1A8E87 #4D1A8E #8E1A21
split-complementary
#5B8E1A #1A218E #871A8E
monochromatic
#192707 #3A5A11 #5B8E1A #7CC223 #9ADD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8E1A#FFFFFF#000000##000000
##5B8E1A1.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)
#958300
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#5D8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b8e1a;
/* rgb */ color: rgb(91, 142, 26);
/* oklch */ color: oklch(58.9% 0.151 131.3);
Tailwind
colors: {
  custom: {
    50: '#8eaf62',
    500: '#5b8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5b8e1a;
$custom-light: #8eaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8e1a",
  "rgb": {
    "r": 91,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 86.379,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.15078,
    "h": 131.3
  },
  "luminance": 0.21645
}

Semantic roles & 50–950 ramp

primary
#5B8E1A
secondary
#7B45BE
accent
#3CEC89
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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