#5F4C0E#5F4C0E

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

Color values

HEX#5F4C0E
RGBrgb(95, 76, 14)
HSLhsl(46, 74%, 21%)
HSVhsv(46, 85%, 37%)
CMYKcmyk(0%, 20%, 85.3%, 62.7%)
CIE-LABlab(33.21, 1.24, 36.90)
CIE-LCHlch(33.21, 36.92, 88.08°)
OKLaboklab(42.47% -0.0007 0.08)
OKLCHoklch(42.47% 0.08 90.5)
XYZxyz(7.3835, 7.6340, 1.5000)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4C0E #0E215F
analogous
#5F240E #5F4C0E #4A5F0E
triadic
#5F4C0E #0E5F4C #4C0E5F
tetradic
#5F4C0E #0E5F24 #0E215F #5F0E4A
square
#5F4C0E #0E5F24 #0E215F #5F0E4A
split-complementary
#5F4C0E #0E4A5F #240E5F
monochromatic
#1B1504 #2A2106 #5F4C0E #947716 #CAA11E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4C0E#FFFFFF#000000##FFFFFF
##5F4C0E1.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)
#564B02
Deuteranopia (green-blind)
#5A5012
Tritanopia (blue-blind)
#684540
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5f4c0e;
/* rgb */ color: rgb(95, 76, 14);
/* oklch */ color: oklch(42.5% 0.080 90.5);
Tailwind
colors: {
  custom: {
    50: '#907d53',
    500: '#5f4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #5f4c0e;
$custom-light: #907d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4c0e",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 45.926,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.07996,
    "h": 90.5
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#5F4C0E
secondary
#304999
accent
#63F137
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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