#5B5710#5B5710

#5B5710 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.7% C 0.088 H 106.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5B5710
RGBrgb(91, 87, 16)
HSLhsl(57, 70%, 21%)
HSVhsv(57, 82%, 36%)
CMYKcmyk(0%, 4.4%, 82.4%, 64.3%)
CIE-LABlab(36.13, -7.28, 38.65)
CIE-LCHlch(36.13, 39.33, 100.67°)
OKLaboklab(44.69% -0.0243 0.0844)
OKLCHoklch(44.69% 0.088 106.1)
XYZxyz(7.8164, 9.0782, 1.8307)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5710 #10145B
analogous
#5B3110 #5B5710 #395B10
triadic
#5B5710 #105B57 #57105B
tetradic
#5B5710 #105B31 #10145B #5B1039
square
#5B5710 #105B31 #10145B #5B1039
split-complementary
#5B5710 #10395B #31105B
monochromatic
#1A1905 #272507 #5B5710 #8F8919 #C3BB22

Accessibility & contrast

On white

7.46
#5B5710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5B5710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5710
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5710#FFFFFF#000000##FFFFFF
##5B57101.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5302
Deuteranopia (green-blind)
#615616
Tritanopia (blue-blind)
#62514A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b5710;
/* rgb */ color: rgb(91, 87, 16);
/* oklch */ color: oklch(44.7% 0.088 106.1);
Tailwind
colors: {
  custom: {
    50: '#8c8655',
    500: '#5b5710',
    950: '#000000',
  },
}
SCSS
$custom: #5b5710;
$custom-light: #8c8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5710",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 56.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.08782,
    "h": 106.1
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#5B5710
secondary
#333894
accent
#44ED3B
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5710

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

Preview Lab → · Contrast checker → · Palette generator →

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