#5B6C13#5B6C13

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

Color values

HEX#5B6C13
RGBrgb(91, 108, 19)
HSLhsl(71, 70%, 25%)
HSVhsv(71, 82%, 42%)
CMYKcmyk(15.7%, 0%, 82.4%, 57.6%)
CIE-LABlab(42.76, -18.85, 43.65)
CIE-LCHlch(42.76, 47.55, 113.36°)
OKLaboklab(50.01% -0.0561 0.0956)
OKLCHoklch(50.01% 0.111 120.4)
XYZxyz(9.7947, 12.9963, 2.6085)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6C13 #24136C
analogous
#6C5113 #5B6C13 #2E6C13
triadic
#5B6C13 #135B6C #6C135B
tetradic
#5B6C13 #136C51 #24136C #6C132E
square
#5B6C13 #136C51 #24136C #6C132E
split-complementary
#5B6C13 #132E6C #51136C
monochromatic
#161A05 #2F380A #5B6C13 #87A01C #B3D425

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6C13#FFFFFF#000000##FFFFFF
##5B6C131.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)
#736500
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#61665C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b6c13;
/* rgb */ color: rgb(91, 108, 19);
/* oklch */ color: oklch(50.0% 0.111 120.4);
Tailwind
colors: {
  custom: {
    50: '#8c965a',
    500: '#5b6c13',
    950: '#000000',
  },
}
SCSS
$custom: #5b6c13;
$custom-light: #8c965a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6c13",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 19
  },
  "hsl": {
    "h": 71.461,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.11086,
    "h": 120.4
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#5B6C13
secondary
#4C38A3
accent
#3BED5D
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6C13

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

Preview Lab → · Contrast checker → · Palette generator →

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