#5F5D16#5F5D16

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

Color values

HEX#5F5D16
RGBrgb(95, 93, 22)
HSLhsl(58, 62%, 23%)
HSVhsv(58, 77%, 37%)
CMYKcmyk(0%, 2.1%, 76.8%, 62.7%)
CIE-LABlab(38.41, -8.51, 38.62)
CIE-LCHlch(38.41, 39.54, 102.43°)
OKLaboklab(46.61% -0.0274 0.0854)
OKLCHoklch(46.61% 0.09 107.8)
XYZxyz(8.7788, 10.3198, 2.2884)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5D16 #16185F
analogous
#5F3816 #5F5D16 #3C5F16
triadic
#5F5D16 #165F5D #5D165F
tetradic
#5F5D16 #165F38 #16185F #5F163C
square
#5F5D16 #165F38 #16185F #5F163C
split-complementary
#5F5D16 #163C5F #38165F
monochromatic
#191806 #2D2C0A #5F5D16 #918E22 #C2BE2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5D16#FFFFFF#000000##FFFFFF
##5F5D161.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f5d16;
/* rgb */ color: rgb(95, 93, 22);
/* oklch */ color: oklch(46.6% 0.090 107.8);
Tailwind
colors: {
  custom: {
    50: '#8f8a59',
    500: '#5f5d16',
    950: '#000000',
  },
}
SCSS
$custom: #5f5d16;
$custom-light: #8f8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5d16",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 58.356,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46613,
    "c": 0.08969,
    "h": 107.8
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#5F5D16
secondary
#3B3D96
accent
#47E542
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F5D16

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

Preview Lab → · Contrast checker → · Palette generator →

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