#5B8F19#5B8F19

#5B8F19 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.1% C 0.153 H 131.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5B8F19
RGBrgb(91, 143, 25)
HSLhsl(86, 70%, 33%)
HSVhsv(86, 83%, 56%)
CMYKcmyk(36.4%, 0%, 82.5%, 43.9%)
CIE-LABlab(53.96, -35.55, 51.99)
CIE-LCHlch(53.96, 62.99, 124.37°)
OKLaboklab(59.12% -0.101 0.1143)
OKLCHoklch(59.12% 0.153 131.5)
XYZxyz(14.3122, 21.9387, 4.4000)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8F19 #4D198F
analogous
#8F8819 #5B8F19 #208F19
triadic
#5B8F19 #195B8F #8F195B
tetradic
#5B8F19 #198F88 #4D198F #8F1920
square
#5B8F19 #198F88 #4D198F #8F1920
split-complementary
#5B8F19 #19208F #88198F
monochromatic
#192707 #3A5B10 #5B8F19 #7CC322 #9ADE44

Accessibility & contrast

On white

3.90
#5B8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5B8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8F19
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8F19#FFFFFF#000000##000000
##5B8F191.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#5D897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b8f19;
/* rgb */ color: rgb(91, 143, 25);
/* oklch */ color: oklch(59.1% 0.153 131.5);
Tailwind
colors: {
  custom: {
    50: '#8eb061',
    500: '#5b8f19',
    950: '#000000',
  },
}
SCSS
$custom: #5b8f19;
$custom-light: #8eb061;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8f19",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 86.441,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5912,
    "c": 0.15251,
    "h": 131.5
  },
  "luminance": 0.21939
}

Semantic roles & 50–950 ramp

primary
#5B8F19
secondary
#7B44BF
accent
#3BED89
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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