#5B9531#5B9531

#5B9531 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.9% C 0.145 H 134.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5B9531
RGBrgb(91, 149, 49)
HSLhsl(95, 51%, 39%)
HSVhsv(95, 67%, 58%)
CMYKcmyk(38.9%, 0%, 67.1%, 41.6%)
CIE-LABlab(56.03, -36.61, 45.21)
CIE-LCHlch(56.03, 58.18, 129.00°)
OKLaboklab(60.86% -0.1021 0.1037)
OKLCHoklch(60.86% 0.145 134.6)
XYZxyz(15.6159, 23.9400, 6.7032)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9531 #6B3195
analogous
#8D9531 #5B9531 #319539
triadic
#5B9531 #315B95 #95315B
tetradic
#5B9531 #318D95 #6B3195 #953931
square
#5B9531 #318D95 #6B3195 #953931
split-complementary
#5B9531 #393195 #95318D
monochromatic
#233913 #3F6722 #5B9531 #77C142 #99D070

Accessibility & contrast

On white

3.63
#5B9531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5B9531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9531
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9531#FFFFFF#000000##000000
##5B95311.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8924
Deuteranopia (green-blind)
#938539
Tritanopia (blue-blind)
#5A8F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9531;
/* rgb */ color: rgb(91, 149, 49);
/* oklch */ color: oklch(60.9% 0.145 134.6);
Tailwind
colors: {
  custom: {
    50: '#8eb46e',
    500: '#5b9531',
    950: '#000000',
  },
}
SCSS
$custom: #5b9531;
$custom-light: #8eb46e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9531",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 94.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60858,
    "c": 0.14549,
    "h": 134.6
  },
  "luminance": 0.23941
}

Semantic roles & 50–950 ramp

primary
#5B9531
secondary
#976AB8
accent
#4EDA9F
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9531

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

Preview Lab → · Contrast checker → · Palette generator →

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