#5F5D13#5F5D13

#5F5D13 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.6% C 0.092 H 107.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5F5D13
RGBrgb(95, 93, 19)
HSLhsl(58, 67%, 22%)
HSVhsv(58, 80%, 37%)
CMYKcmyk(0%, 2.1%, 80%, 62.7%)
CIE-LABlab(38.39, -8.66, 39.76)
CIE-LCHlch(38.39, 40.70, 102.29°)
OKLaboklab(46.59% -0.0281 0.0872)
OKLCHoklch(46.59% 0.092 107.9)
XYZxyz(8.7516, 10.3089, 2.1448)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5D13 #13155F
analogous
#5F3713 #5F5D13 #3B5F13
triadic
#5F5D13 #135F5D #5D135F
tetradic
#5F5D13 #135F37 #13155F #5F133B
square
#5F5D13 #135F37 #13155F #5F133B
split-complementary
#5F5D13 #133B5F #37135F
monochromatic
#1A1905 #2C2B09 #5F5D13 #928F1D #C5C127

Accessibility & contrast

On white

6.86
#5F5D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5F5D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5D13
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5D13#FFFFFF#000000##FFFFFF
##5F5D131.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655904
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#66564F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5d13;
/* rgb */ color: rgb(95, 93, 19);
/* oklch */ color: oklch(46.6% 0.092 107.9);
Tailwind
colors: {
  custom: {
    50: '#8f8a57',
    500: '#5f5d13',
    950: '#000000',
  },
}
SCSS
$custom: #5f5d13;
$custom-light: #8f8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5d13",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 58.421,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.09164,
    "h": 107.9
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#5F5D13
secondary
#373997
accent
#43EA3E
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5D13

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

Preview Lab → · Contrast checker → · Palette generator →

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