#5B5213#5B5213

#5B5213 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.5% C 0.081 H 100.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5B5213
RGBrgb(91, 82, 19)
HSLhsl(53, 65%, 22%)
HSVhsv(53, 79%, 36%)
CMYKcmyk(0%, 9.9%, 79.1%, 64.3%)
CIE-LABlab(34.61, -4.18, 36.06)
CIE-LCHlch(34.61, 36.30, 96.61°)
OKLaboklab(43.49% -0.0153 0.0795)
OKLCHoklch(43.49% 0.081 100.9)
XYZxyz(7.4496, 8.3061, 1.8268)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5213 #131C5B
analogous
#5B2E13 #5B5213 #405B13
triadic
#5B5213 #135B52 #52135B
tetradic
#5B5213 #135B2E #131C5B #5B1340
square
#5B5213 #135B2E #131C5B #5B1340
split-complementary
#5B5213 #13405B #2E135B
monochromatic
#191705 #282408 #5B5213 #8E801E #C0AD28

Accessibility & contrast

On white

7.89
#5B5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5B5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5213
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5213#FFFFFF#000000##FFFFFF
##5B52131.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F08
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#634B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5b5213;
/* rgb */ color: rgb(91, 82, 19);
/* oklch */ color: oklch(43.5% 0.081 100.9);
Tailwind
colors: {
  custom: {
    50: '#8c8256',
    500: '#5b5213',
    950: '#000000',
  },
}
SCSS
$custom: #5b5213;
$custom-light: #8c8256;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5213",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 52.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43489,
    "c": 0.08099,
    "h": 100.9
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#5B5213
secondary
#374293
accent
#55E83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5213

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

Preview Lab → · Contrast checker → · Palette generator →

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