#5B5116#5B5116

#5B5116 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.078 H 99.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5B5116
RGBrgb(91, 81, 22)
HSLhsl(51, 61%, 22%)
HSVhsv(51, 76%, 36%)
CMYKcmyk(0%, 11%, 75.8%, 64.3%)
CIE-LABlab(34.33, -3.41, 34.49)
CIE-LCHlch(34.33, 34.66, 95.65°)
OKLaboklab(43.27% -0.0128 0.0768)
OKLCHoklch(43.27% 0.078 99.4)
XYZxyz(7.4020, 8.1673, 1.9455)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5116 #16205B
analogous
#5B2E16 #5B5116 #435B16
triadic
#5B5116 #165B51 #51165B
tetradic
#5B5116 #165B2E #16205B #5B1643
square
#5B5116 #165B2E #16205B #5B1643
split-complementary
#5B5116 #16435B #2E165B
monochromatic
#191606 #2A250A #5B5116 #8C7D22 #BEA92E

Accessibility & contrast

On white

7.97
#5B5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5B5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5116
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5116#FFFFFF#000000##FFFFFF
##5B51161.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F0D
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#634B45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5b5116;
/* rgb */ color: rgb(91, 81, 22);
/* oklch */ color: oklch(43.3% 0.078 99.4);
Tailwind
colors: {
  custom: {
    50: '#8c8157',
    500: '#5b5116',
    950: '#000000',
  },
}
SCSS
$custom: #5b5116;
$custom-light: #8c8157;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5116",
  "rgb": {
    "r": 91,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 51.304,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.07788,
    "h": 99.4
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#5B5116
secondary
#3B4792
accent
#5BE444
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5116

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

Preview Lab → · Contrast checker → · Palette generator →

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