#5B9537#5B9537

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

Color values

HEX#5B9537
RGBrgb(91, 149, 55)
HSLhsl(97, 46%, 40%)
HSVhsv(97, 63%, 58%)
CMYKcmyk(38.9%, 0%, 63.1%, 41.6%)
CIE-LABlab(56.08, -36.06, 42.61)
CIE-LCHlch(56.08, 55.82, 130.24°)
OKLaboklab(60.92% -0.1001 0.0989)
OKLCHoklch(60.92% 0.141 135.3)
XYZxyz(15.7511, 23.9941, 7.4151)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9537 #713795
analogous
#8A9537 #5B9537 #379542
triadic
#5B9537 #375B95 #95375B
tetradic
#5B9537 #378A95 #713795 #954237
square
#5B9537 #378A95 #713795 #954237
split-complementary
#5B9537 #423795 #95378A
monochromatic
#243C16 #406827 #5B9537 #77BD4C #99CD79

Accessibility & contrast

On white

3.62
#5B9537 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5B9537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9537
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9537#FFFFFF#000000##000000
##5B95371.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892C
Deuteranopia (green-blind)
#92853E
Tritanopia (blue-blind)
#5A9081
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9537;
/* rgb */ color: rgb(91, 149, 55);
/* oklch */ color: oklch(60.9% 0.141 135.3);
Tailwind
colors: {
  custom: {
    50: '#8db472',
    500: '#5b9537',
    950: '#000000',
  },
}
SCSS
$custom: #5b9537;
$custom-light: #8db472;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9537",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 55
  },
  "hsl": {
    "h": 97.021,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.1407,
    "h": 135.3
  },
  "luminance": 0.23995
}

Semantic roles & 50–950 ramp

primary
#5B9537
secondary
#9C71B6
accent
#52D6A3
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0D1108
muted
#7D807B

Preview Lab

Preview with #5B9537

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

Preview Lab → · Contrast checker → · Palette generator →

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