#5F5113#5F5113

#5F5113 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.080 H 95.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5F5113
RGBrgb(95, 81, 19)
HSLhsl(49, 67%, 22%)
HSVhsv(49, 80%, 37%)
CMYKcmyk(0%, 14.7%, 80%, 62.7%)
CIE-LABlab(34.73, -1.58, 36.32)
CIE-LCHlch(34.73, 36.36, 92.49°)
OKLaboklab(43.68% -0.0082 0.0799)
OKLCHoklch(43.68% 0.08 95.8)
XYZxyz(7.7797, 8.3652, 1.8208)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5113 #13215F
analogous
#5F2B13 #5F5113 #475F13
triadic
#5F5113 #135F51 #51135F
tetradic
#5F5113 #135F2B #13215F #5F1347
square
#5F5113 #135F2B #13215F #5F1347
split-complementary
#5F5113 #13475F #2B135F
monochromatic
#1A1605 #2C2609 #5F5113 #927C1D #C5A827

Accessibility & contrast

On white

7.86
#5F5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5F5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5113
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5113#FFFFFF#000000##FFFFFF
##5F51131.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F08
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#674A45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f5113;
/* rgb */ color: rgb(95, 81, 19);
/* oklch */ color: oklch(43.7% 0.080 95.8);
Tailwind
colors: {
  custom: {
    50: '#8f8156',
    500: '#5f5113',
    950: '#000000',
  },
}
SCSS
$custom: #5f5113;
$custom-light: #8f8156;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5113",
  "rgb": {
    "r": 95,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 48.947,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.08032,
    "h": 95.8
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#5F5113
secondary
#374997
accent
#5EEA3E
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F5113

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

Preview Lab → · Contrast checker → · Palette generator →

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