#5B8B1B#5B8B1B

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

Color values

HEX#5B8B1B
RGBrgb(91, 139, 27)
HSLhsl(86, 67%, 33%)
HSVhsv(86, 81%, 55%)
CMYKcmyk(34.5%, 0%, 80.6%, 45.5%)
CIE-LABlab(52.69, -33.65, 50.22)
CIE-LCHlch(52.69, 60.45, 123.83°)
OKLaboklab(58.09% -0.0957 0.1109)
OKLCHoklch(58.09% 0.146 130.8)
XYZxyz(13.7447, 20.7680, 4.3211)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8B1B #4B1B8B
analogous
#8B831B #5B8B1B #238B1B
triadic
#5B8B1B #1B5B8B #8B1B5B
tetradic
#5B8B1B #1B8B83 #4B1B8B #8B1B23
square
#5B8B1B #1B8B83 #4B1B8B #8B1B23
split-complementary
#5B8B1B #1B238B #831B8B
monochromatic
#182507 #395811 #5B8B1B #7DBE25 #9BDB45

Accessibility & contrast

On white

4.07
#5B8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8B1B#FFFFFF#000000##000000
##5B8B1B1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b8b1b;
/* rgb */ color: rgb(91, 139, 27);
/* oklch */ color: oklch(58.1% 0.146 130.8);
Tailwind
colors: {
  custom: {
    50: '#8ead62',
    500: '#5b8b1b',
    950: '#000000',
  },
}
SCSS
$custom: #5b8b1b;
$custom-light: #8ead62;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8b1b",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 85.714,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.14649,
    "h": 130.8
  },
  "luminance": 0.20769
}

Semantic roles & 50–950 ramp

primary
#5B8B1B
secondary
#7845BC
accent
#3DEA88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B8B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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