#5F4C11#5F4C11

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

Color values

HEX#5F4C11
RGBrgb(95, 76, 17)
HSLhsl(45, 70%, 22%)
HSVhsv(45, 82%, 37%)
CMYKcmyk(0%, 20%, 82.1%, 62.7%)
CIE-LABlab(33.23, 1.37, 35.73)
CIE-LCHlch(33.23, 35.76, 87.81°)
OKLaboklab(42.49% 0 0.0782)
OKLCHoklch(42.49% 0.078 90)
XYZxyz(7.4054, 7.6427, 1.6154)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4C11 #11245F
analogous
#5F2511 #5F4C11 #4B5F11
triadic
#5F4C11 #115F4C #4C115F
tetradic
#5F4C11 #115F25 #11245F #5F114B
square
#5F4C11 #115F25 #11245F #5F114B
split-complementary
#5F4C11 #114B5F #25115F
monochromatic
#1A1505 #2B2208 #5F4C11 #93761A #C79F24

Accessibility & contrast

On white

8.31
#5F4C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F4C11
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4C11#FFFFFF#000000##FFFFFF
##5F4C111.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#684541
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5f4c11;
/* rgb */ color: rgb(95, 76, 17);
/* oklch */ color: oklch(42.5% 0.078 90.0);
Tailwind
colors: {
  custom: {
    50: '#907d54',
    500: '#5f4c11',
    950: '#000000',
  },
}
SCSS
$custom: #5f4c11;
$custom-light: #907d54;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4c11",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 45.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.07818,
    "h": 90
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#5F4C11
secondary
#344C98
accent
#66EC3B
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4C11

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

Preview Lab → · Contrast checker → · Palette generator →

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