#5F4C0C#5F4C0C

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

Color values

HEX#5F4C0C
RGBrgb(95, 76, 12)
HSLhsl(46, 78%, 21%)
HSVhsv(46, 87%, 37%)
CMYKcmyk(0%, 20%, 87.4%, 62.7%)
CIE-LABlab(33.20, 1.16, 37.61)
CIE-LCHlch(33.20, 37.63, 88.23°)
OKLaboklab(42.46% -0.0011 0.081)
OKLCHoklch(42.46% 0.081 90.8)
XYZxyz(7.3706, 7.6288, 1.4321)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4C0C #0C1F5F
analogous
#5F220C #5F4C0C #485F0C
triadic
#5F4C0C #0C5F4C #4C0C5F
tetradic
#5F4C0C #0C5F22 #0C1F5F #5F0C48
square
#5F4C0C #0C5F22 #0C1F5F #5F0C48
split-complementary
#5F4C0C #0C485F #220C5F
monochromatic
#1B1603 #292105 #5F4C0C #957713 #CCA31A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4C0C#FFFFFF#000000##FFFFFF
##5F4C0C1.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)
#564B00
Deuteranopia (green-blind)
#5A5010
Tritanopia (blue-blind)
#684540
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5f4c0c;
/* rgb */ color: rgb(95, 76, 12);
/* oklch */ color: oklch(42.5% 0.081 90.8);
Tailwind
colors: {
  custom: {
    50: '#907d52',
    500: '#5f4c0c',
    950: '#000000',
  },
}
SCSS
$custom: #5f4c0c;
$custom-light: #907d52;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4c0c",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 46.265,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42458,
    "c": 0.08103,
    "h": 90.8
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#5F4C0C
secondary
#2D4699
accent
#60F434
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0902
muted
#7E7B78

Preview Lab

Preview with #5F4C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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