#5B6C16#5B6C16

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

Color values

HEX#5B6C16
RGBrgb(91, 108, 22)
HSLhsl(72, 66%, 25%)
HSVhsv(72, 80%, 42%)
CMYKcmyk(15.7%, 0%, 79.6%, 57.6%)
CIE-LABlab(42.77, -18.70, 42.64)
CIE-LCHlch(42.77, 46.56, 113.68°)
OKLaboklab(50.03% -0.0554 0.094)
OKLCHoklch(50.03% 0.109 120.5)
XYZxyz(9.8219, 13.0072, 2.7521)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6C16 #27166C
analogous
#6C5216 #5B6C16 #306C16
triadic
#5B6C16 #165B6C #6C165B
tetradic
#5B6C16 #166C52 #27166C #6C1630
square
#5B6C16 #166C52 #27166C #6C1630
split-complementary
#5B6C16 #16306C #52166C
monochromatic
#151905 #30390C #5B6C16 #869F20 #B1D22B

Accessibility & contrast

On white

5.83
#5B6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B6C16
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6C16#FFFFFF#000000##FFFFFF
##5B6C161.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b6c16;
/* rgb */ color: rgb(91, 108, 22);
/* oklch */ color: oklch(50.0% 0.109 120.5);
Tailwind
colors: {
  custom: {
    50: '#8c965b',
    500: '#5b6c16',
    950: '#000000',
  },
}
SCSS
$custom: #5b6c16;
$custom-light: #8c965b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6c16",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 71.86,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.10917,
    "h": 120.5
  },
  "luminance": 0.13007
}

Semantic roles & 50–950 ramp

primary
#5B6C16
secondary
#503CA2
accent
#3FE960
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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