#5D5213#5D5213

#5D5213 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.081 H 98.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5D5213
RGBrgb(93, 82, 19)
HSLhsl(51, 66%, 22%)
HSVhsv(51, 80%, 36%)
CMYKcmyk(0%, 11.8%, 79.6%, 63.5%)
CIE-LABlab(34.82, -3.18, 36.33)
CIE-LCHlch(34.82, 36.47, 95.00°)
OKLaboklab(43.7% -0.0126 0.08)
OKLCHoklch(43.7% 0.081 98.9)
XYZxyz(7.6494, 8.4091, 1.8362)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5213 #131E5D
analogous
#5D2D13 #5D5213 #435D13
triadic
#5D5213 #135D52 #52135D
tetradic
#5D5213 #135D2D #131E5D #5D1343
square
#5D5213 #135D2D #131E5D #5D1343
split-complementary
#5D5213 #13435D #2D135D
monochromatic
#191605 #2A2509 #5D5213 #907F1D #C3AC28

Accessibility & contrast

On white

7.83
#5D5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5D5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5213
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5213#FFFFFF#000000##FFFFFF
##5D52131.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5213;
/* rgb */ color: rgb(93, 82, 19);
/* oklch */ color: oklch(43.7% 0.081 98.9);
Tailwind
colors: {
  custom: {
    50: '#8e8256',
    500: '#5d5213',
    950: '#000000',
  },
}
SCSS
$custom: #5d5213;
$custom-light: #8e8256;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5213",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 51.081,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43704,
    "c": 0.08099,
    "h": 98.9
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#5D5213
secondary
#374595
accent
#58E93F
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D5213

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

Preview Lab → · Contrast checker → · Palette generator →

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