#5F5314#5F5314

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

Color values

HEX#5F5314
RGBrgb(95, 83, 20)
HSLhsl(50, 65%, 23%)
HSVhsv(50, 79%, 37%)
CMYKcmyk(0%, 12.6%, 78.9%, 62.7%)
CIE-LABlab(35.34, -2.73, 36.49)
CIE-LCHlch(35.34, 36.59, 94.28°)
OKLaboklab(44.17% -0.0113 0.0805)
OKLCHoklch(44.17% 0.081 98)
XYZxyz(7.9392, 8.6703, 1.9170)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5314 #14205F
analogous
#5F2E14 #5F5314 #455F14
triadic
#5F5314 #145F53 #53145F
tetradic
#5F5314 #145F2E #14205F #5F1445
square
#5F5314 #145F2E #14205F #5F1445
split-complementary
#5F5314 #14455F #2E145F
monochromatic
#191605 #2C2709 #5F5314 #927F1F #C4AB29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5314#FFFFFF#000000##FFFFFF
##5F53141.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)
#5C5109
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#674C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f5314;
/* rgb */ color: rgb(95, 83, 20);
/* oklch */ color: oklch(44.2% 0.081 98.0);
Tailwind
colors: {
  custom: {
    50: '#8f8357',
    500: '#5f5314',
    950: '#000000',
  },
}
SCSS
$custom: #5f5314;
$custom-light: #8f8357;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5314",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 50.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44169,
    "c": 0.08126,
    "h": 98
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#5F5314
secondary
#384797
accent
#5BE840
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5314

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

Preview Lab → · Contrast checker → · Palette generator →

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