#5B6C11#5B6C11

#5B6C11 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 50.0% C 0.112 H 120.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5B6C11
RGBrgb(91, 108, 17)
HSLhsl(71, 73%, 25%)
HSVhsv(71, 84%, 42%)
CMYKcmyk(15.7%, 0%, 84.3%, 57.6%)
CIE-LABlab(42.75, -18.94, 44.28)
CIE-LCHlch(42.75, 48.16, 113.16°)
OKLaboklab(50% -0.0565 0.0966)
OKLCHoklch(50% 0.112 120.3)
XYZxyz(9.7783, 12.9898, 2.5223)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6C11 #22116C
analogous
#6C5011 #5B6C11 #2E6C11
triadic
#5B6C11 #115B6C #6C115B
tetradic
#5B6C11 #116C50 #22116C #6C112E
square
#5B6C11 #116C50 #22116C #6C112E
split-complementary
#5B6C11 #112E6C #50116C
monochromatic
#161A04 #2E3709 #5B6C11 #88A119 #B4D622

Accessibility & contrast

On white

5.84
#5B6C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5B6C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6C11
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6C11#FFFFFF#000000##FFFFFF
##5B6C111.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#71651A
Tritanopia (blue-blind)
#61665C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b6c11;
/* rgb */ color: rgb(91, 108, 17);
/* oklch */ color: oklch(50.0% 0.112 120.3);
Tailwind
colors: {
  custom: {
    50: '#8c9659',
    500: '#5b6c11',
    950: '#000000',
  },
}
SCSS
$custom: #5b6c11;
$custom-light: #8c9659;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6c11",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 71.209,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.5,
    "c": 0.11188,
    "h": 120.3
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#5B6C11
secondary
#4A35A4
accent
#38EF5B
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6C11

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

Preview Lab → · Contrast checker → · Palette generator →

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