#5F4F14#5F4F14

#5F4F14 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.2% C 0.078 H 93.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5F4F14
RGBrgb(95, 79, 20)
HSLhsl(47, 65%, 23%)
HSVhsv(47, 79%, 37%)
CMYKcmyk(0%, 16.8%, 78.9%, 62.7%)
CIE-LABlab(34.14, -0.32, 35.33)
CIE-LCHlch(34.14, 35.33, 90.52°)
OKLaboklab(43.22% -0.0044 0.078)
OKLCHoklch(43.22% 0.078 93.3)
XYZxyz(7.6420, 8.0758, 1.8180)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4F14 #14245F
analogous
#5F2A14 #5F4F14 #495F14
triadic
#5F4F14 #145F4F #4F145F
tetradic
#5F4F14 #145F2A #14245F #5F1449
square
#5F4F14 #145F2A #14245F #5F1449
split-complementary
#5F4F14 #14495F #2A145F
monochromatic
#191505 #2C2509 #5F4F14 #92791F #C4A329

Accessibility & contrast

On white

8.03
#5F4F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5F4F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4F14
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4F14#FFFFFF#000000##FFFFFF
##5F4F141.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0A
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#674843
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5f4f14;
/* rgb */ color: rgb(95, 79, 20);
/* oklch */ color: oklch(43.2% 0.078 93.3);
Tailwind
colors: {
  custom: {
    50: '#8f8056',
    500: '#5f4f14',
    950: '#000000',
  },
}
SCSS
$custom: #5f4f14;
$custom-light: #8f8056;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4f14",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 47.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43218,
    "c": 0.07814,
    "h": 93.3
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#5F4F14
secondary
#384C97
accent
#64E840
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4F14

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

Preview Lab → · Contrast checker → · Palette generator →

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