#5F5D19#5F5D19

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

Color values

HEX#5F5D19
RGBrgb(95, 93, 25)
HSLhsl(58, 58%, 24%)
HSVhsv(58, 74%, 37%)
CMYKcmyk(0%, 2.1%, 73.7%, 62.7%)
CIE-LABlab(38.43, -8.34, 37.39)
CIE-LCHlch(38.43, 38.31, 102.58°)
OKLaboklab(46.64% -0.0266 0.0834)
OKLCHoklch(46.64% 0.088 107.7)
XYZxyz(8.8095, 10.3321, 2.4498)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5D19 #191B5F
analogous
#5F3A19 #5F5D19 #3E5F19
triadic
#5F5D19 #195F5D #5D195F
tetradic
#5F5D19 #195F3A #191B5F #5F193E
square
#5F5D19 #195F3A #191B5F #5F193E
split-complementary
#5F5D19 #193E5F #3A195F
monochromatic
#181806 #2F2E0C #5F5D19 #8F8C26 #C0BC32

Accessibility & contrast

On white

6.85
#5F5D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5F5D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5D19
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5D19#FFFFFF#000000##FFFFFF
##5F5D191.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590E
Deuteranopia (green-blind)
#665C1E
Tritanopia (blue-blind)
#66574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5d19;
/* rgb */ color: rgb(95, 93, 25);
/* oklch */ color: oklch(46.6% 0.088 107.7);
Tailwind
colors: {
  custom: {
    50: '#8f8a5b',
    500: '#5f5d19',
    950: '#000000',
  },
}
SCSS
$custom: #5f5d19;
$custom-light: #8f8a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5d19",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 58.286,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.08753,
    "h": 107.7
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#5F5D19
secondary
#3F4195
accent
#4BE246
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F5D19

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

Preview Lab → · Contrast checker → · Palette generator →

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