#5F5013#5F5013

#5F5013 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.080 H 94.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5F5013
RGBrgb(95, 80, 19)
HSLhsl(48, 67%, 22%)
HSVhsv(48, 80%, 37%)
CMYKcmyk(0%, 15.8%, 80%, 62.7%)
CIE-LABlab(34.43, -0.98, 36.04)
CIE-LCHlch(34.43, 36.05, 91.55°)
OKLaboklab(43.45% -0.0064 0.0793)
OKLCHoklch(43.45% 0.08 94.7)
XYZxyz(7.7059, 8.2177, 1.7963)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5013 #13225F
analogous
#5F2A13 #5F5013 #485F13
triadic
#5F5013 #135F50 #50135F
tetradic
#5F5013 #135F2A #13225F #5F1348
square
#5F5013 #135F2A #13225F #5F1348
split-complementary
#5F5013 #13485F #2A135F
monochromatic
#1A1505 #2C2509 #5F5013 #927B1D #C5A627

Accessibility & contrast

On white

7.94
#5F5013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5F5013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5013
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5013#FFFFFF#000000##FFFFFF
##5F50131.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E08
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#674944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5f5013;
/* rgb */ color: rgb(95, 80, 19);
/* oklch */ color: oklch(43.4% 0.080 94.7);
Tailwind
colors: {
  custom: {
    50: '#8f8056',
    500: '#5f5013',
    950: '#000000',
  },
}
SCSS
$custom: #5f5013;
$custom-light: #8f8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5013",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 48.158,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43447,
    "c": 0.07955,
    "h": 94.7
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#5F5013
secondary
#374A97
accent
#60EA3E
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5013

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

Preview Lab → · Contrast checker → · Palette generator →

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