#5B8B19#5B8B19

#5B8B19 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.1% C 0.147 H 130.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5B8B19
RGBrgb(91, 139, 25)
HSLhsl(85, 70%, 32%)
HSVhsv(85, 82%, 55%)
CMYKcmyk(34.5%, 0%, 82%, 45.5%)
CIE-LABlab(52.68, -33.75, 50.83)
CIE-LCHlch(52.68, 61.01, 123.59°)
OKLaboklab(58.08% -0.0961 0.1118)
OKLCHoklch(58.08% 0.147 130.7)
XYZxyz(13.7224, 20.7591, 4.2034)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8B19 #49198B
analogous
#8B8219 #5B8B19 #228B19
triadic
#5B8B19 #195B8B #8B195B
tetradic
#5B8B19 #198B82 #49198B #8B1922
square
#5B8B19 #198B82 #49198B #8B1922
split-complementary
#5B8B19 #19228B #82198B
monochromatic
#172306 #395710 #5B8B19 #7DBF22 #9BDD41

Accessibility & contrast

On white

4.08
#5B8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5B8B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8B19
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8B19#FFFFFF#000000##000000
##5B8B191.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#5D8576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b8b19;
/* rgb */ color: rgb(91, 139, 25);
/* oklch */ color: oklch(58.1% 0.147 130.7);
Tailwind
colors: {
  custom: {
    50: '#8ead61',
    500: '#5b8b19',
    950: '#000000',
  },
}
SCSS
$custom: #5b8b19;
$custom-light: #8ead61;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8b19",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 85.263,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.14747,
    "h": 130.7
  },
  "luminance": 0.2076
}

Semantic roles & 50–950 ramp

primary
#5B8B19
secondary
#7642BE
accent
#3BEC86
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B8B19

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

Preview Lab → · Contrast checker → · Palette generator →

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