#5B5211#5B5211

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

Color values

HEX#5B5211
RGBrgb(91, 82, 17)
HSLhsl(53, 69%, 21%)
HSVhsv(53, 81%, 36%)
CMYKcmyk(0%, 9.9%, 81.3%, 64.3%)
CIE-LABlab(34.60, -4.28, 36.86)
CIE-LCHlch(34.60, 37.11, 96.62°)
OKLaboklab(43.48% -0.0158 0.0808)
OKLCHoklch(43.48% 0.082 101.1)
XYZxyz(7.4332, 8.2995, 1.7406)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5211 #111A5B
analogous
#5B2D11 #5B5211 #3F5B11
triadic
#5B5211 #115B52 #52115B
tetradic
#5B5211 #115B2D #111A5B #5B113F
square
#5B5211 #115B2D #111A5B #5B113F
split-complementary
#5B5211 #113F5B #2D115B
monochromatic
#1A1705 #272407 #5B5211 #8F801B #C2AF24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B5211#FFFFFF#000000##FFFFFF
##5B52111.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)
#5B4F05
Deuteranopia (green-blind)
#5D5316
Tritanopia (blue-blind)
#634B46
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5b5211;
/* rgb */ color: rgb(91, 82, 17);
/* oklch */ color: oklch(43.5% 0.082 101.1);
Tailwind
colors: {
  custom: {
    50: '#8c8255',
    500: '#5b5211',
    950: '#000000',
  },
}
SCSS
$custom: #5b5211;
$custom-light: #8c8255;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5211",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 52.703,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43475,
    "c": 0.08231,
    "h": 101.1
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#5B5211
secondary
#344094
accent
#52EB3C
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5211

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

Preview Lab → · Contrast checker → · Palette generator →

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