#5B5110#5B5110

#5B5110 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.2% C 0.082 H 100.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#5B5110
RGBrgb(91, 81, 16)
HSLhsl(52, 70%, 21%)
HSVhsv(52, 82%, 36%)
CMYKcmyk(0%, 11%, 82.4%, 64.3%)
CIE-LABlab(34.29, -3.73, 36.96)
CIE-LCHlch(34.29, 37.14, 95.76°)
OKLaboklab(43.23% -0.0143 0.0808)
OKLCHoklch(43.23% 0.082 100.1)
XYZxyz(7.3507, 8.1468, 1.6754)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5110 #101A5B
analogous
#5B2B10 #5B5110 #3F5B10
triadic
#5B5110 #105B51 #51105B
tetradic
#5B5110 #105B2B #101A5B #5B103F
square
#5B5110 #105B2B #101A5B #5B103F
split-complementary
#5B5110 #103F5B #2B105B
monochromatic
#1A1705 #272307 #5B5110 #8F7F19 #C3AE22

Accessibility & contrast

On white

7.99
#5B5110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B5110
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5110#FFFFFF#000000##FFFFFF
##5B51101.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F04
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#634A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5b5110;
/* rgb */ color: rgb(91, 81, 16);
/* oklch */ color: oklch(43.2% 0.082 100.1);
Tailwind
colors: {
  custom: {
    50: '#8c8154',
    500: '#5b5110',
    950: '#000000',
  },
}
SCSS
$custom: #5b5110;
$custom-light: #8c8154;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5110",
  "rgb": {
    "r": 91,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 52,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43225,
    "c": 0.08203,
    "h": 100.1
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#5B5110
secondary
#334094
accent
#53ED3B
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #5B5110

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

Preview Lab → · Contrast checker → · Palette generator →

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