#5B5911#5B5911

#5B5911 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.089 H 107.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5B5911
RGBrgb(91, 89, 17)
HSLhsl(58, 69%, 21%)
HSVhsv(58, 81%, 36%)
CMYKcmyk(0%, 2.2%, 81.3%, 64.3%)
CIE-LABlab(36.76, -8.40, 38.86)
CIE-LCHlch(36.76, 39.76, 102.20°)
OKLaboklab(45.2% -0.0274 0.085)
OKLCHoklch(45.2% 0.089 107.8)
XYZxyz(7.9883, 9.4096, 1.9257)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5911 #11135B
analogous
#5B3411 #5B5911 #385B11
triadic
#5B5911 #115B59 #59115B
tetradic
#5B5911 #115B34 #11135B #5B1138
square
#5B5911 #115B34 #11135B #5B1138
split-complementary
#5B5911 #11385B #34115B
monochromatic
#1A1905 #272707 #5B5911 #8F8B1B #C2BE24

Accessibility & contrast

On white

7.29
#5B5911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5B5911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5911
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5911#FFFFFF#000000##FFFFFF
##5B59111.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615502
Deuteranopia (green-blind)
#625817
Tritanopia (blue-blind)
#62534B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b5911;
/* rgb */ color: rgb(91, 89, 17);
/* oklch */ color: oklch(45.2% 0.089 107.8);
Tailwind
colors: {
  custom: {
    50: '#8c8756',
    500: '#5b5911',
    950: '#000000',
  },
}
SCSS
$custom: #5b5911;
$custom-light: #8c8756;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5911",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 58.378,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.08934,
    "h": 107.8
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#5B5911
secondary
#343794
accent
#41EB3C
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5911

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

Preview Lab → · Contrast checker → · Palette generator →

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