#5B911D#5B911D

#5B911D is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.7% C 0.153 H 132.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5B911D
RGBrgb(91, 145, 29)
HSLhsl(88, 67%, 34%)
HSVhsv(88, 80%, 57%)
CMYKcmyk(37.2%, 0%, 80%, 43.1%)
CIE-LABlab(54.62, -36.24, 51.38)
CIE-LCHlch(54.62, 62.87, 125.20°)
OKLaboklab(59.66% -0.1026 0.1136)
OKLCHoklch(59.66% 0.153 132.1)
XYZxyz(14.6614, 22.5630, 4.7448)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B911D #531D91
analogous
#918D1D #5B911D #21911D
triadic
#5B911D #1D5B91 #911D5B
tetradic
#5B911D #1D918D #531D91 #911D21
square
#5B911D #1D918D #531D91 #911D21
split-complementary
#5B911D #1D2191 #8D1D91
monochromatic
#1B2B09 #3B5E13 #5B911D #7BC427 #99DB4D

Accessibility & contrast

On white

3.81
#5B911D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5B911D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B911D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B911D#FFFFFF#000000##000000
##5B911D1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#5C8B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b911d;
/* rgb */ color: rgb(91, 145, 29);
/* oklch */ color: oklch(59.7% 0.153 132.1);
Tailwind
colors: {
  custom: {
    50: '#8eb163',
    500: '#5b911d',
    950: '#000000',
  },
}
SCSS
$custom: #5b911d;
$custom-light: #8eb163;
$custom-dark: #000000;
JSON
{
  "hex": "#5b911d",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 29
  },
  "hsl": {
    "h": 87.931,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.15308,
    "h": 132.1
  },
  "luminance": 0.22564
}

Semantic roles & 50–950 ramp

primary
#5B911D
secondary
#814CBE
accent
#3EEA8E
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B911D

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

Preview Lab → · Contrast checker → · Palette generator →

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