#5B5210#5B5210

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

Color values

HEX#5B5210
RGBrgb(91, 82, 16)
HSLhsl(53, 70%, 21%)
HSVhsv(53, 82%, 36%)
CMYKcmyk(0%, 9.9%, 82.4%, 64.3%)
CIE-LABlab(34.59, -4.33, 37.24)
CIE-LCHlch(34.59, 37.49, 96.63°)
OKLaboklab(43.47% -0.016 0.0814)
OKLCHoklch(43.47% 0.083 101.2)
XYZxyz(7.4256, 8.2965, 1.7004)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5210 #10195B
analogous
#5B2C10 #5B5210 #3E5B10
triadic
#5B5210 #105B52 #52105B
tetradic
#5B5210 #105B2C #10195B #5B103E
square
#5B5210 #105B2C #10195B #5B103E
split-complementary
#5B5210 #103E5B #2C105B
monochromatic
#1A1705 #272307 #5B5210 #8F8119 #C3B022

Accessibility & contrast

On white

7.90
#5B5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B5210
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5210#FFFFFF#000000##FFFFFF
##5B52101.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b5210;
/* rgb */ color: rgb(91, 82, 16);
/* oklch */ color: oklch(43.5% 0.083 101.2);
Tailwind
colors: {
  custom: {
    50: '#8c8254',
    500: '#5b5210',
    950: '#000000',
  },
}
SCSS
$custom: #5b5210;
$custom-light: #8c8254;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5210",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 52.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43468,
    "c": 0.08294,
    "h": 101.2
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#5B5210
secondary
#333E94
accent
#50ED3B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5210

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

Preview Lab → · Contrast checker → · Palette generator →

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