#5B8D2B#5B8D2B

#5B8D2B is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.7% C 0.139 H 132.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5B8D2B
RGBrgb(91, 141, 43)
HSLhsl(91, 53%, 36%)
HSVhsv(91, 70%, 55%)
CMYKcmyk(35.5%, 0%, 69.5%, 44.7%)
CIE-LABlab(53.44, -33.52, 45.02)
CIE-LCHlch(53.44, 56.13, 126.67°)
OKLaboklab(58.73% -0.0941 0.1025)
OKLCHoklch(58.73% 0.139 132.6)
XYZxyz(14.2751, 21.4477, 5.6727)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8D2B #5D2B8D
analogous
#8C8D2B #5B8D2B #2B8D2C
triadic
#5B8D2B #2B5B8D #8D2B5B
tetradic
#5B8D2B #2B8C8D #5D2B8D #8D2C2B
square
#5B8D2B #2B8C8D #5D2B8D #8D2C2B
split-complementary
#5B8D2B #2C2B8D #8D2B8C
monochromatic
#1E2F0E #3D5E1D #5B8D2B #79BC39 #98CF63

Accessibility & contrast

On white

3.97
#5B8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5B8D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8D2B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8D2B#FFFFFF#000000##000000
##5B8D2B1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#5C8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b8d2b;
/* rgb */ color: rgb(91, 141, 43);
/* oklch */ color: oklch(58.7% 0.139 132.6);
Tailwind
colors: {
  custom: {
    50: '#8dae6a',
    500: '#5b8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #5b8d2b;
$custom-light: #8dae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8d2b",
  "rgb": {
    "r": 91,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 90.612,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58727,
    "c": 0.13912,
    "h": 132.6
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

primary
#5B8D2B
secondary
#8B5EB6
accent
#4BDD95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5B8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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