#5B9533#5B9533

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

Color values

HEX#5B9533
RGBrgb(91, 149, 51)
HSLhsl(96, 49%, 39%)
HSVhsv(96, 66%, 58%)
CMYKcmyk(38.9%, 0%, 65.8%, 41.6%)
CIE-LABlab(56.05, -36.44, 44.36)
CIE-LCHlch(56.05, 57.41, 129.40°)
OKLaboklab(60.88% -0.1014 0.1021)
OKLCHoklch(60.88% 0.144 134.8)
XYZxyz(15.6590, 23.9573, 6.9305)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9533 #6D3395
analogous
#8C9533 #5B9533 #33953C
triadic
#5B9533 #335B95 #95335B
tetradic
#5B9533 #338C95 #6D3395 #953C33
square
#5B9533 #338C95 #6D3395 #953C33
split-complementary
#5B9533 #3C3395 #95338C
monochromatic
#233A14 #3F6723 #5B9533 #77C046 #99CF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9533#FFFFFF#000000##000000
##5B95331.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)
#9B8927
Deuteranopia (green-blind)
#92853B
Tritanopia (blue-blind)
#5A8F81
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9533;
/* rgb */ color: rgb(91, 149, 51);
/* oklch */ color: oklch(60.9% 0.144 134.8);
Tailwind
colors: {
  custom: {
    50: '#8eb46f',
    500: '#5b9533',
    950: '#000000',
  },
}
SCSS
$custom: #5b9533;
$custom-light: #8eb46f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9533",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 51
  },
  "hsl": {
    "h": 95.51,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.14394,
    "h": 134.8
  },
  "luminance": 0.23958
}

Semantic roles & 50–950 ramp

primary
#5B9533
secondary
#996CB7
accent
#4FD9A1
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5B9533

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

Preview Lab → · Contrast checker → · Palette generator →

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