#5F5513#5F5513

#5F5513 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.6% C 0.084 H 100.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5F5513
RGBrgb(95, 85, 19)
HSLhsl(52, 67%, 22%)
HSVhsv(52, 80%, 37%)
CMYKcmyk(0%, 10.5%, 80%, 62.7%)
CIE-LABlab(35.94, -3.98, 37.47)
CIE-LCHlch(35.94, 37.68, 96.06°)
OKLaboklab(44.64% -0.015 0.0823)
OKLCHoklch(44.64% 0.084 100.3)
XYZxyz(8.0857, 8.9773, 1.9229)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5513 #131D5F
analogous
#5F2F13 #5F5513 #435F13
triadic
#5F5513 #135F55 #55135F
tetradic
#5F5513 #135F2F #131D5F #5F1343
square
#5F5513 #135F2F #131D5F #5F1343
split-complementary
#5F5513 #13435F #2F135F
monochromatic
#1A1705 #2C2709 #5F5513 #92831D #C5B027

Accessibility & contrast

On white

7.51
#5F5513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5F5513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5513
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5513#FFFFFF#000000##FFFFFF
##5F55131.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5207
Deuteranopia (green-blind)
#615618
Tritanopia (blue-blind)
#674E48
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f5513;
/* rgb */ color: rgb(95, 85, 19);
/* oklch */ color: oklch(44.6% 0.084 100.3);
Tailwind
colors: {
  custom: {
    50: '#8f8456',
    500: '#5f5513',
    950: '#000000',
  },
}
SCSS
$custom: #5f5513;
$custom-light: #8f8456;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5513",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 19
  },
  "hsl": {
    "h": 52.105,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.08368,
    "h": 100.3
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#5F5513
secondary
#374497
accent
#55EA3E
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5513

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

Preview Lab → · Contrast checker → · Palette generator →

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