#5F4D11#5F4D11

#5F4D11 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.7% C 0.079 H 91.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5F4D11
RGBrgb(95, 77, 17)
HSLhsl(46, 70%, 22%)
HSVhsv(46, 82%, 37%)
CMYKcmyk(0%, 18.9%, 82.1%, 62.7%)
CIE-LABlab(33.52, 0.75, 36.01)
CIE-LCHlch(33.52, 36.02, 88.80°)
OKLaboklab(42.73% -0.0018 0.0788)
OKLCHoklch(42.73% 0.079 91.3)
XYZxyz(7.4748, 7.7816, 1.6385)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4D11 #11235F
analogous
#5F2611 #5F4D11 #4A5F11
triadic
#5F4D11 #115F4D #4D115F
tetradic
#5F4D11 #115F26 #11235F #5F114A
square
#5F4D11 #115F26 #11235F #5F114A
split-complementary
#5F4D11 #114A5F #26115F
monochromatic
#1A1505 #2B2308 #5F4D11 #93771A #C7A124

Accessibility & contrast

On white

8.22
#5F4D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5F4D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4D11
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4D11#FFFFFF#000000##FFFFFF
##5F4D111.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C06
Deuteranopia (green-blind)
#5B5115
Tritanopia (blue-blind)
#674641
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5f4d11;
/* rgb */ color: rgb(95, 77, 17);
/* oklch */ color: oklch(42.7% 0.079 91.3);
Tailwind
colors: {
  custom: {
    50: '#907e54',
    500: '#5f4d11',
    950: '#000000',
  },
}
SCSS
$custom: #5f4d11;
$custom-light: #907e54;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4d11",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 46.154,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.07879,
    "h": 91.3
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#5F4D11
secondary
#344B98
accent
#64EC3B
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5F4D11

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

Preview Lab → · Contrast checker → · Palette generator →

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