#5B6B13#5B6B13

#5B6B13 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.8% C 0.110 H 119.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5B6B13
RGBrgb(91, 107, 19)
HSLhsl(71, 70%, 25%)
HSVhsv(71, 82%, 42%)
CMYKcmyk(15%, 0%, 82.2%, 58%)
CIE-LABlab(42.44, -18.32, 43.36)
CIE-LCHlch(42.44, 47.07, 112.90°)
OKLaboklab(49.76% -0.0546 0.095)
OKLCHoklch(49.76% 0.11 119.9)
XYZxyz(9.6898, 12.7866, 2.5736)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6B13 #23136B
analogous
#6B4F13 #5B6B13 #2F6B13
triadic
#5B6B13 #135B6B #6B135B
tetradic
#5B6B13 #136B4F #23136B #6B132F
square
#5B6B13 #136B4F #23136B #6B132F
split-complementary
#5B6B13 #132F6B #4F136B
monochromatic
#161A05 #2F370A #5B6B13 #879F1C #B3D325

Accessibility & contrast

On white

5.90
#5B6B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5B6B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6B13
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6B13#FFFFFF#000000##FFFFFF
##5B6B131.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#61655B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b6b13;
/* rgb */ color: rgb(91, 107, 19);
/* oklch */ color: oklch(49.8% 0.110 119.9);
Tailwind
colors: {
  custom: {
    50: '#8c9559',
    500: '#5b6b13',
    950: '#000000',
  },
}
SCSS
$custom: #5b6b13;
$custom-light: #8c9559;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6b13",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 19
  },
  "hsl": {
    "h": 70.909,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.10959,
    "h": 119.9
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#5B6B13
secondary
#4B38A2
accent
#3BED5B
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6B13

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

Preview Lab → · Contrast checker → · Palette generator →

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