#5B8A32#5B8A32

#5B8A32 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.129 H 132.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5B8A32
RGBrgb(91, 138, 50)
HSLhsl(92, 47%, 37%)
HSVhsv(92, 64%, 54%)
CMYKcmyk(34.1%, 0%, 63.8%, 45.9%)
CIE-LABlab(52.54, -31.52, 40.98)
CIE-LCHlch(52.54, 51.70, 127.57°)
OKLaboklab(58.02% -0.0881 0.0948)
OKLCHoklch(58.02% 0.129 132.9)
XYZxyz(13.9784, 20.6309, 6.2626)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A32 #61328A
analogous
#878A32 #5B8A32 #328A35
triadic
#5B8A32 #325B8A #8A325B
tetradic
#5B8A32 #32878A #61328A #8A3532
square
#5B8A32 #32878A #61328A #8A3532
split-complementary
#5B8A32 #35328A #8A3287
monochromatic
#203011 #3D5D22 #5B8A32 #79B742 #98CA6C

Accessibility & contrast

On white

4.10
#5B8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5B8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8A32
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8A32#FFFFFF#000000##000000
##5B8A321.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#897C39
Tritanopia (blue-blind)
#5C8577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b8a32;
/* rgb */ color: rgb(91, 138, 50);
/* oklch */ color: oklch(58.0% 0.129 132.9);
Tailwind
colors: {
  custom: {
    50: '#8dac6e',
    500: '#5b8a32',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a32;
$custom-light: #8dac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a32",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 92.045,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.12942,
    "h": 132.9
  },
  "luminance": 0.20631
}

Semantic roles & 50–950 ramp

primary
#5B8A32
secondary
#8E66B2
accent
#51D698
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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