#5F5616#5F5616

#5F5616 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.9% C 0.083 H 101.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5F5616
RGBrgb(95, 86, 22)
HSLhsl(53, 62%, 23%)
HSVhsv(53, 77%, 37%)
CMYKcmyk(0%, 9.5%, 76.8%, 62.7%)
CIE-LABlab(36.27, -4.42, 36.54)
CIE-LCHlch(36.27, 36.80, 96.89°)
OKLaboklab(44.91% -0.0159 0.081)
OKLCHoklch(44.91% 0.083 101.1)
XYZxyz(8.1923, 9.1468, 2.0929)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5616 #161F5F
analogous
#5F3116 #5F5616 #435F16
triadic
#5F5616 #165F56 #56165F
tetradic
#5F5616 #165F31 #161F5F #5F1643
square
#5F5616 #165F31 #161F5F #5F1643
split-complementary
#5F5616 #16435F #31165F
monochromatic
#191606 #2D290A #5F5616 #918322 #C2B02D

Accessibility & contrast

On white

7.42
#5F5616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5F5616 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5616
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5616#FFFFFF#000000##FFFFFF
##5F56161.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530C
Deuteranopia (green-blind)
#61571A
Tritanopia (blue-blind)
#674F49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f5616;
/* rgb */ color: rgb(95, 86, 22);
/* oklch */ color: oklch(44.9% 0.083 101.1);
Tailwind
colors: {
  custom: {
    50: '#8f8558',
    500: '#5f5616',
    950: '#000000',
  },
}
SCSS
$custom: #5f5616;
$custom-light: #8f8558;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5616",
  "rgb": {
    "r": 95,
    "g": 86,
    "b": 22
  },
  "hsl": {
    "h": 52.603,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44906,
    "c": 0.08254,
    "h": 101.1
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#5F5616
secondary
#3B4696
accent
#56E542
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5616

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

Preview Lab → · Contrast checker → · Palette generator →

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