#5D661D#5D661D

#5D661D is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.7% C 0.096 H 116.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5D661D
RGBrgb(93, 102, 29)
HSLhsl(67, 56%, 26%)
HSVhsv(67, 72%, 40%)
CMYKcmyk(8.8%, 0%, 71.6%, 60%)
CIE-LABlab(41.09, -14.12, 38.27)
CIE-LCHlch(41.09, 40.79, 110.26°)
OKLaboklab(48.73% -0.0422 0.0861)
OKLCHoklch(48.73% 0.096 116.1)
XYZxyz(9.4876, 11.9187, 2.9629)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D661D #261D66
analogous
#664A1D #5D661D #38661D
triadic
#5D661D #1D5D66 #661D5D
tetradic
#5D661D #1D664A #261D66 #661D38
square
#5D661D #1D664A #261D66 #661D38
split-complementary
#5D661D #1D3866 #4A1D66
monochromatic
#161807 #32360F #5D661D #88962B #B4C538

Accessibility & contrast

On white

6.21
#5D661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5D661D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D661D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D661D#FFFFFF#000000##FFFFFF
##5D661D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6012
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#636057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d661d;
/* rgb */ color: rgb(93, 102, 29);
/* oklch */ color: oklch(48.7% 0.096 116.1);
Tailwind
colors: {
  custom: {
    50: '#8d915e',
    500: '#5d661d',
    950: '#000000',
  },
}
SCSS
$custom: #5d661d;
$custom-light: #8d915e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d661d",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 67.397,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48728,
    "c": 0.09584,
    "h": 116.1
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#5D661D
secondary
#4F449B
accent
#49DF5B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D661D

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

Preview Lab → · Contrast checker → · Palette generator →

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