#5F4C13#5F4C13

#5F4C13 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.5% C 0.077 H 89.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5F4C13
RGBrgb(95, 76, 19)
HSLhsl(45, 67%, 22%)
HSVhsv(45, 80%, 37%)
CMYKcmyk(0%, 20%, 80%, 62.7%)
CIE-LABlab(33.24, 1.46, 34.90)
CIE-LCHlch(33.24, 34.93, 87.60°)
OKLaboklab(42.51% 0.0005 0.0769)
OKLCHoklch(42.51% 0.077 89.6)
XYZxyz(7.4217, 7.6493, 1.7015)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4C13 #13265F
analogous
#5F2613 #5F4C13 #4C5F13
triadic
#5F4C13 #135F4C #4C135F
tetradic
#5F4C13 #135F26 #13265F #5F134C
square
#5F4C13 #135F26 #13265F #5F134C
split-complementary
#5F4C13 #134C5F #26135F
monochromatic
#1A1405 #2C2309 #5F4C13 #92751D #C59E27

Accessibility & contrast

On white

8.30
#5F4C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5F4C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4C13
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4C13#FFFFFF#000000##FFFFFF
##5F4C131.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0A
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#674541
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5f4c13;
/* rgb */ color: rgb(95, 76, 19);
/* oklch */ color: oklch(42.5% 0.077 89.6);
Tailwind
colors: {
  custom: {
    50: '#907d55',
    500: '#5f4c13',
    950: '#000000',
  },
}
SCSS
$custom: #5f4c13;
$custom-light: #907d55;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4c13",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.07686,
    "h": 89.6
  },
  "luminance": 0.07649
}

Semantic roles & 50–950 ramp

primary
#5F4C13
secondary
#374F97
accent
#69EA3E
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4C13

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

Preview Lab → · Contrast checker → · Palette generator →

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