#5F4B0C#5F4B0C

#5F4B0C is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 42.2% C 0.080 H 89.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5F4B0C
RGBrgb(95, 75, 12)
HSLhsl(46, 78%, 21%)
HSVhsv(46, 87%, 37%)
CMYKcmyk(0%, 21.1%, 87.4%, 62.7%)
CIE-LABlab(32.90, 1.77, 37.36)
CIE-LCHlch(32.90, 37.40, 87.28°)
OKLaboklab(42.23% 0.0006 0.0805)
OKLCHoklch(42.23% 0.08 89.6)
XYZxyz(7.3022, 7.4921, 1.4093)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4B0C #0C205F
analogous
#5F210C #5F4B0C #495F0C
triadic
#5F4B0C #0C5F4B #4B0C5F
tetradic
#5F4B0C #0C5F21 #0C205F #5F0C49
square
#5F4B0C #0C5F21 #0C205F #5F0C49
split-complementary
#5F4B0C #0C495F #210C5F
monochromatic
#1B1503 #292005 #5F4B0C #957613 #CCA11A

Accessibility & contrast

On white

8.41
#5F4B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5F4B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4B0C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4B0C#FFFFFF#000000##FFFFFF
##5F4B0C1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#5A5010
Tritanopia (blue-blind)
#68443F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5f4b0c;
/* rgb */ color: rgb(95, 75, 12);
/* oklch */ color: oklch(42.2% 0.080 89.6);
Tailwind
colors: {
  custom: {
    50: '#907c52',
    500: '#5f4b0c',
    950: '#000000',
  },
}
SCSS
$custom: #5f4b0c;
$custom-light: #907c52;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4b0c",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 45.542,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42225,
    "c": 0.08046,
    "h": 89.6
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#5F4B0C
secondary
#2D4799
accent
#62F434
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0902
muted
#7E7B78

Preview Lab

Preview with #5F4B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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