#5F5C13#5F5C13

#5F5C13 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.3% C 0.091 H 107.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5F5C13
RGBrgb(95, 92, 19)
HSLhsl(58, 67%, 22%)
HSVhsv(58, 80%, 37%)
CMYKcmyk(0%, 3.2%, 80%, 62.7%)
CIE-LABlab(38.08, -8.09, 39.48)
CIE-LCHlch(38.08, 40.30, 101.58°)
OKLaboklab(46.35% -0.0265 0.0866)
OKLCHoklch(46.35% 0.091 107)
XYZxyz(8.6644, 10.1345, 2.1157)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5C13 #13165F
analogous
#5F3613 #5F5C13 #3C5F13
triadic
#5F5C13 #135F5C #5C135F
tetradic
#5F5C13 #135F36 #13165F #5F133C
square
#5F5C13 #135F36 #13165F #5F133C
split-complementary
#5F5C13 #133C5F #36135F
monochromatic
#1A1905 #2C2B09 #5F5C13 #928D1D #C5BF27

Accessibility & contrast

On white

6.94
#5F5C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5F5C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5C13
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5C13#FFFFFF#000000##FFFFFF
##5F5C131.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645804
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#67554E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5c13;
/* rgb */ color: rgb(95, 92, 19);
/* oklch */ color: oklch(46.3% 0.091 107.0);
Tailwind
colors: {
  custom: {
    50: '#8f8957',
    500: '#5f5c13',
    950: '#000000',
  },
}
SCSS
$custom: #5f5c13;
$custom-light: #8f8957;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5c13",
  "rgb": {
    "r": 95,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 57.632,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46346,
    "c": 0.09057,
    "h": 107
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#5F5C13
secondary
#373B97
accent
#45EA3E
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5C13

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

Preview Lab → · Contrast checker → · Palette generator →

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