#5F5322#5F5322

#5F5322 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.3% C 0.069 H 95.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5F5322
RGBrgb(95, 83, 34)
HSLhsl(48, 47%, 25%)
HSVhsv(48, 64%, 37%)
CMYKcmyk(0%, 12.6%, 64.2%, 62.7%)
CIE-LABlab(35.47, -1.81, 29.90)
CIE-LCHlch(35.47, 29.96, 93.45°)
OKLaboklab(44.31% -0.0068 0.0691)
OKLCHoklch(44.31% 0.069 95.7)
XYZxyz(8.1016, 8.7353, 2.7724)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5322 #222E5F
analogous
#5F3422 #5F5322 #4C5F22
triadic
#5F5322 #225F53 #53225F
tetradic
#5F5322 #225F34 #222E5F #5F224C
square
#5F5322 #225F34 #222E5F #5F224C
split-complementary
#5F5322 #224C5F #34225F
monochromatic
#171408 #322C12 #5F5322 #8C7A32 #B9A242

Accessibility & contrast

On white

7.64
#5F5322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5F5322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5322
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5322#FFFFFF#000000##FFFFFF
##5F53221.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511D
Deuteranopia (green-blind)
#5E5524
Tritanopia (blue-blind)
#664D48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f5322;
/* rgb */ color: rgb(95, 83, 34);
/* oklch */ color: oklch(44.3% 0.069 95.7);
Tailwind
colors: {
  custom: {
    50: '#8e835f',
    500: '#5f5322',
    950: '#000000',
  },
}
SCSS
$custom: #5f5322;
$custom-light: #8e835f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5322",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 34
  },
  "hsl": {
    "h": 48.197,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44311,
    "c": 0.06942,
    "h": 95.7
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#5F5322
secondary
#4A5893
accent
#6BD751
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A05
muted
#7D7C79

Preview Lab

Preview with #5F5322

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

Preview Lab → · Contrast checker → · Palette generator →

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