#5F4F15#5F4F15

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

Color values

HEX#5F4F15
RGBrgb(95, 79, 21)
HSLhsl(47, 64%, 23%)
HSVhsv(47, 78%, 37%)
CMYKcmyk(0%, 16.8%, 77.9%, 62.7%)
CIE-LABlab(34.15, -0.26, 34.90)
CIE-LCHlch(34.15, 34.90, 90.43°)
OKLaboklab(43.23% -0.0042 0.0773)
OKLCHoklch(43.23% 0.077 93.1)
XYZxyz(7.6511, 8.0794, 1.8658)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4F15 #15255F
analogous
#5F2A15 #5F4F15 #4A5F15
triadic
#5F4F15 #155F4F #4F155F
tetradic
#5F4F15 #155F2A #15255F #5F154A
square
#5F4F15 #155F2A #15255F #5F154A
split-complementary
#5F4F15 #154A5F #2A155F
monochromatic
#191506 #2D250A #5F4F15 #917920 #C3A22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4F15#FFFFFF#000000##FFFFFF
##5F4F151.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)
#584E0C
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#674843
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5f4f15;
/* rgb */ color: rgb(95, 79, 21);
/* oklch */ color: oklch(43.2% 0.077 93.1);
Tailwind
colors: {
  custom: {
    50: '#8f8057',
    500: '#5f4f15',
    950: '#000000',
  },
}
SCSS
$custom: #5f4f15;
$custom-light: #8f8057;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4f15",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 47.027,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.07742,
    "h": 93.1
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#5F4F15
secondary
#3A4E96
accent
#65E741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4F15

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

Preview Lab → · Contrast checker → · Palette generator →

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