#5B5313#5B5313

#5B5313 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.7% C 0.082 H 102.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5B5313
RGBrgb(91, 83, 19)
HSLhsl(53, 65%, 22%)
HSVhsv(53, 79%, 36%)
CMYKcmyk(0%, 8.8%, 79.1%, 64.3%)
CIE-LABlab(34.92, -4.78, 36.36)
CIE-LCHlch(34.92, 36.67, 97.49°)
OKLaboklab(43.73% -0.017 0.0802)
OKLCHoklch(43.73% 0.082 102)
XYZxyz(7.5255, 8.4580, 1.8521)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5313 #131B5B
analogous
#5B2F13 #5B5313 #3F5B13
triadic
#5B5313 #135B53 #53135B
tetradic
#5B5313 #135B2F #131B5B #5B133F
square
#5B5313 #135B2F #131B5B #5B133F
split-complementary
#5B5313 #133F5B #2F135B
monochromatic
#191705 #282508 #5B5313 #8E811E #C0AF28

Accessibility & contrast

On white

7.80
#5B5313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5B5313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5313
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5313#FFFFFF#000000##FFFFFF
##5B53131.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5008
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#634D47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5b5313;
/* rgb */ color: rgb(91, 83, 19);
/* oklch */ color: oklch(43.7% 0.082 102.0);
Tailwind
colors: {
  custom: {
    50: '#8c8356',
    500: '#5b5313',
    950: '#000000',
  },
}
SCSS
$custom: #5b5313;
$custom-light: #8c8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5313",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 53.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43733,
    "c": 0.08193,
    "h": 102
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#5B5313
secondary
#374193
accent
#52E83F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5313

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

Preview Lab → · Contrast checker → · Palette generator →

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