#5F5315#5F5315

#5F5315 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.2% C 0.081 H 97.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5F5315
RGBrgb(95, 83, 21)
HSLhsl(50, 64%, 23%)
HSVhsv(50, 78%, 37%)
CMYKcmyk(0%, 12.6%, 77.9%, 62.7%)
CIE-LABlab(35.35, -2.68, 36.07)
CIE-LCHlch(35.35, 36.17, 94.25°)
OKLaboklab(44.18% -0.0111 0.0798)
OKLCHoklch(44.18% 0.081 97.9)
XYZxyz(7.9483, 8.6740, 1.9649)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5315 #15215F
analogous
#5F2E15 #5F5315 #465F15
triadic
#5F5315 #155F53 #53155F
tetradic
#5F5315 #155F2E #15215F #5F1546
square
#5F5315 #155F2E #15215F #5F1546
split-complementary
#5F5315 #15465F #2E155F
monochromatic
#191606 #2D270A #5F5315 #917F20 #C3AB2B

Accessibility & contrast

On white

7.68
#5F5315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5F5315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5315
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5315#FFFFFF#000000##FFFFFF
##5F53151.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510B
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#674C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f5315;
/* rgb */ color: rgb(95, 83, 21);
/* oklch */ color: oklch(44.2% 0.081 97.9);
Tailwind
colors: {
  custom: {
    50: '#8f8357',
    500: '#5f5315',
    950: '#000000',
  },
}
SCSS
$custom: #5f5315;
$custom-light: #8f8357;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5315",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 50.27,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.08056,
    "h": 97.9
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#5F5315
secondary
#3A4996
accent
#5CE741
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5315

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

Preview Lab → · Contrast checker → · Palette generator →

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