#5F5313#5F5313

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

Color values

HEX#5F5313
RGBrgb(95, 83, 19)
HSLhsl(51, 67%, 22%)
HSVhsv(51, 80%, 37%)
CMYKcmyk(0%, 12.6%, 80%, 62.7%)
CIE-LABlab(35.33, -2.78, 36.90)
CIE-LCHlch(35.33, 37.00, 94.31°)
OKLaboklab(44.16% -0.0116 0.0811)
OKLCHoklch(44.16% 0.082 98.1)
XYZxyz(7.9305, 8.6668, 1.8711)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5313 #131F5F
analogous
#5F2D13 #5F5313 #455F13
triadic
#5F5313 #135F53 #53135F
tetradic
#5F5313 #135F2D #131F5F #5F1345
square
#5F5313 #135F2D #131F5F #5F1345
split-complementary
#5F5313 #13455F #2D135F
monochromatic
#1A1605 #2C2609 #5F5313 #92801D #C5AC27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5313#FFFFFF#000000##FFFFFF
##5F53131.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)
#5C5107
Deuteranopia (green-blind)
#5F5517
Tritanopia (blue-blind)
#674C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f5313;
/* rgb */ color: rgb(95, 83, 19);
/* oklch */ color: oklch(44.2% 0.082 98.1);
Tailwind
colors: {
  custom: {
    50: '#8f8356',
    500: '#5f5313',
    950: '#000000',
  },
}
SCSS
$custom: #5f5313;
$custom-light: #8f8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5313",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 50.526,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.08194,
    "h": 98.1
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#5F5313
secondary
#374697
accent
#59EA3E
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5313

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

Preview Lab → · Contrast checker → · Palette generator →

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