#5F5413#5F5413

#5F5413 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.4% C 0.083 H 99.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5F5413
RGBrgb(95, 84, 19)
HSLhsl(51, 67%, 22%)
HSVhsv(51, 80%, 37%)
CMYKcmyk(0%, 11.6%, 80%, 62.7%)
CIE-LABlab(35.64, -3.38, 37.18)
CIE-LCHlch(35.64, 37.34, 95.20°)
OKLaboklab(44.4% -0.0133 0.0817)
OKLCHoklch(44.4% 0.083 99.2)
XYZxyz(8.0076, 8.8210, 1.8968)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5413 #131E5F
analogous
#5F2E13 #5F5413 #445F13
triadic
#5F5413 #135F54 #54135F
tetradic
#5F5413 #135F2E #131E5F #5F1344
square
#5F5413 #135F2E #131E5F #5F1344
split-complementary
#5F5413 #13445F #2E135F
monochromatic
#1A1705 #2C2709 #5F5413 #92811D #C5AE27

Accessibility & contrast

On white

7.60
#5F5413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5F5413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5413
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5413#FFFFFF#000000##FFFFFF
##5F54131.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5207
Deuteranopia (green-blind)
#605617
Tritanopia (blue-blind)
#674D47
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5f5413;
/* rgb */ color: rgb(95, 84, 19);
/* oklch */ color: oklch(44.4% 0.083 99.2);
Tailwind
colors: {
  custom: {
    50: '#8f8356',
    500: '#5f5413',
    950: '#000000',
  },
}
SCSS
$custom: #5f5413;
$custom-light: #8f8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5413",
  "rgb": {
    "r": 95,
    "g": 84,
    "b": 19
  },
  "hsl": {
    "h": 51.316,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44401,
    "c": 0.0828,
    "h": 99.2
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#5F5413
secondary
#374597
accent
#57EA3E
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5413

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

Preview Lab → · Contrast checker → · Palette generator →

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