#5B6111#5B6111

#5B6111 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.2% C 0.098 H 114.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5B6111
RGBrgb(91, 97, 17)
HSLhsl(65, 70%, 22%)
HSVhsv(65, 82%, 38%)
CMYKcmyk(6.2%, 0%, 82.5%, 62%)
CIE-LABlab(39.27, -12.96, 41.15)
CIE-LCHlch(39.27, 43.14, 107.48°)
OKLaboklab(47.2% -0.04 0.0899)
OKLCHoklch(47.2% 0.098 114)
XYZxyz(8.6905, 10.8142, 2.1597)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6111 #171161
analogous
#613F11 #5B6111 #336111
triadic
#5B6111 #115B61 #61115B
tetradic
#5B6111 #11613F #171161 #611133
square
#5B6111 #11613F #171161 #611133
split-complementary
#5B6111 #113361 #3F1161
monochromatic
#181A05 #2A2D08 #5B6111 #8C951A #BDC923

Accessibility & contrast

On white

6.64
#5B6111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5B6111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6111
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6111#FFFFFF#000000##FFFFFF
##5B61111.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#695D18
Tritanopia (blue-blind)
#625B52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6111;
/* rgb */ color: rgb(91, 97, 17);
/* oklch */ color: oklch(47.2% 0.098 114.0);
Tailwind
colors: {
  custom: {
    50: '#8c8d57',
    500: '#5b6111',
    950: '#000000',
  },
}
SCSS
$custom: #5b6111;
$custom-light: #8c8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6111",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 64.5,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.47199,
    "c": 0.09843,
    "h": 114
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#5B6111
secondary
#3C3499
accent
#3BED48
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B6111

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

Preview Lab → · Contrast checker → · Palette generator →

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