#5B9331#5B9331

#5B9331 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.3% C 0.143 H 134.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5B9331
RGBrgb(91, 147, 49)
HSLhsl(94, 50%, 38%)
HSVhsv(94, 67%, 58%)
CMYKcmyk(38.1%, 0%, 66.7%, 42.4%)
CIE-LABlab(55.39, -35.72, 44.53)
CIE-LCHlch(55.39, 57.09, 128.74°)
OKLaboklab(60.34% -0.0996 0.1022)
OKLCHoklch(60.34% 0.143 134.3)
XYZxyz(15.3022, 23.3126, 6.5986)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9331 #693193
analogous
#8C9331 #5B9331 #319338
triadic
#5B9331 #315B93 #93315B
tetradic
#5B9331 #318C93 #693193 #933831
square
#5B9331 #318C93 #693193 #933831
split-complementary
#5B9331 #383193 #93318C
monochromatic
#223712 #3F6522 #5B9331 #78C041 #98CF6F

Accessibility & contrast

On white

3.71
#5B9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5B9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9331
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9331#FFFFFF#000000##000000
##5B93311.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998824
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#5B8D7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b9331;
/* rgb */ color: rgb(91, 147, 49);
/* oklch */ color: oklch(60.3% 0.143 134.3);
Tailwind
colors: {
  custom: {
    50: '#8eb36e',
    500: '#5b9331',
    950: '#000000',
  },
}
SCSS
$custom: #5b9331;
$custom-light: #8eb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9331",
  "rgb": {
    "r": 91,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 94.286,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60339,
    "c": 0.14276,
    "h": 134.3
  },
  "luminance": 0.23313
}

Semantic roles & 50–950 ramp

primary
#5B9331
secondary
#9569B7
accent
#4EDA9E
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0D1107
muted
#7D807A

Preview Lab

Preview with #5B9331

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

Preview Lab → · Contrast checker → · Palette generator →

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