#5B9532#5B9532

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

Color values

HEX#5B9532
RGBrgb(91, 149, 50)
HSLhsl(95, 50%, 39%)
HSVhsv(95, 66%, 58%)
CMYKcmyk(38.9%, 0%, 66.4%, 41.6%)
CIE-LABlab(56.04, -36.53, 44.79)
CIE-LCHlch(56.04, 57.80, 129.20°)
OKLaboklab(60.87% -0.1018 0.1029)
OKLCHoklch(60.87% 0.145 134.7)
XYZxyz(15.6372, 23.9486, 6.8156)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9532 #6C3295
analogous
#8D9532 #5B9532 #32953B
triadic
#5B9532 #325B95 #95325B
tetradic
#5B9532 #328D95 #6C3295 #953B32
square
#5B9532 #328D95 #6C3295 #953B32
split-complementary
#5B9532 #3B3295 #95328D
monochromatic
#233913 #3F6723 #5B9532 #77C044 #99D072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9532#FFFFFF#000000##000000
##5B95321.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)
#9B8925
Deuteranopia (green-blind)
#93853A
Tritanopia (blue-blind)
#5A8F81
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9532;
/* rgb */ color: rgb(91, 149, 50);
/* oklch */ color: oklch(60.9% 0.145 134.7);
Tailwind
colors: {
  custom: {
    50: '#8eb46f',
    500: '#5b9532',
    950: '#000000',
  },
}
SCSS
$custom: #5b9532;
$custom-light: #8eb46f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9532",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 50
  },
  "hsl": {
    "h": 95.152,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60868,
    "c": 0.14473,
    "h": 134.7
  },
  "luminance": 0.23949
}

Semantic roles & 50–950 ramp

primary
#5B9532
secondary
#986BB8
accent
#4FD9A0
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9532

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

Preview Lab → · Contrast checker → · Palette generator →

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