#5B8B2B#5B8B2B

#5B8B2B is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.2% C 0.136 H 132.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5B8B2B
RGBrgb(91, 139, 43)
HSLhsl(90, 53%, 36%)
HSVhsv(90, 69%, 55%)
CMYKcmyk(34.5%, 0%, 69.1%, 45.5%)
CIE-LABlab(52.80, -32.60, 44.35)
CIE-LCHlch(52.80, 55.04, 126.32°)
OKLaboklab(58.21% -0.0916 0.1011)
OKLCHoklch(58.21% 0.136 132.2)
XYZxyz(13.9829, 20.8633, 5.5753)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8B2B #5B2B8B
analogous
#8B8B2B #5B8B2B #2B8B2B
triadic
#5B8B2B #2B5B8B #8B2B5B
tetradic
#5B8B2B #2B8B8B #5B2B8B #8B2B2B
square
#5B8B2B #2B8B8B #5B2B8B #8B2B2B
split-complementary
#5B8B2B #2B2B8B #8B2B8B
monochromatic
#1E2E0E #3C5C1D #5B8B2B #7ABA39 #98CE62

Accessibility & contrast

On white

4.06
#5B8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5B8B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8B2B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8B2B#FFFFFF#000000##000000
##5B8B2B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801D
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#5C8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b8b2b;
/* rgb */ color: rgb(91, 139, 43);
/* oklch */ color: oklch(58.2% 0.136 132.2);
Tailwind
colors: {
  custom: {
    50: '#8dad6a',
    500: '#5b8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #5b8b2b;
$custom-light: #8dad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8b2b",
  "rgb": {
    "r": 91,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 90,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58208,
    "c": 0.1364,
    "h": 132.2
  },
  "luminance": 0.20864
}

Semantic roles & 50–950 ramp

primary
#5B8B2B
secondary
#895DB5
accent
#4CDC94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5B8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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