#5B8E19#5B8E19

#5B8E19 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#5B8E19
RGBrgb(91, 142, 25)
HSLhsl(86, 70%, 33%)
HSVhsv(86, 82%, 56%)
CMYKcmyk(35.9%, 0%, 82.4%, 44.3%)
CIE-LABlab(53.64, -35.11, 51.70)
CIE-LCHlch(53.64, 62.49, 124.18°)
OKLaboklab(58.86% -0.0998 0.1137)
OKLCHoklch(58.86% 0.151 131.3)
XYZxyz(14.1627, 21.6398, 4.3502)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8E19 #4C198E
analogous
#8E8619 #5B8E19 #208E19
triadic
#5B8E19 #195B8E #8E195B
tetradic
#5B8E19 #198E86 #4C198E #8E1920
square
#5B8E19 #198E86 #4C198E #8E1920
split-complementary
#5B8E19 #19208E #86198E
monochromatic
#182607 #3A5A10 #5B8E19 #7CC222 #9BDE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8E19#FFFFFF#000000##000000
##5B8E191.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)
#8E7F26
Tritanopia (blue-blind)
#5D8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b8e19;
/* rgb */ color: rgb(91, 142, 25);
/* oklch */ color: oklch(58.9% 0.151 131.3);
Tailwind
colors: {
  custom: {
    50: '#8eaf61',
    500: '#5b8e19',
    950: '#000000',
  },
}
SCSS
$custom: #5b8e19;
$custom-light: #8eaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8e19",
  "rgb": {
    "r": 91,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 86.154,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5886,
    "c": 0.15126,
    "h": 131.3
  },
  "luminance": 0.2164
}

Semantic roles & 50–950 ramp

primary
#5B8E19
secondary
#7A44BF
accent
#3BED88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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