#5B8331#5B8331

#5B8331 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.120 H 131.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5B8331
RGBrgb(91, 131, 49)
HSLhsl(89, 46%, 35%)
HSVhsv(89, 63%, 51%)
CMYKcmyk(30.5%, 0%, 62.6%, 48.6%)
CIE-LABlab(50.31, -28.30, 38.96)
CIE-LCHlch(50.31, 48.15, 125.99°)
OKLaboklab(56.2% -0.0793 0.0904)
OKLCHoklch(56.2% 0.12 131.3)
XYZxyz(12.9849, 18.6781, 5.8262)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8331 #593183
analogous
#838231 #5B8331 #328331
triadic
#5B8331 #315B83 #83315B
tetradic
#5B8331 #318382 #593183 #833132
square
#5B8331 #318382 #593183 #833132
split-complementary
#5B8331 #313283 #823183
monochromatic
#1D2A10 #3C5620 #5B8331 #7AB042 #98C668

Accessibility & contrast

On white

4.43
#5B8331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5B8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8331
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8331#FFFFFF#000000##000000
##5B83311.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A28
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#5D7E72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b8331;
/* rgb */ color: rgb(91, 131, 49);
/* oklch */ color: oklch(56.2% 0.120 131.3);
Tailwind
colors: {
  custom: {
    50: '#8ca76d',
    500: '#5b8331',
    950: '#000000',
  },
}
SCSS
$custom: #5b8331;
$custom-light: #8ca76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8331",
  "rgb": {
    "r": 91,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 89.268,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.12028,
    "h": 131.3
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#5B8331
secondary
#8762AE
accent
#53D592
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5B8331

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

Preview Lab → · Contrast checker → · Palette generator →

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