#5C661D#5C661D

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

Color values

HEX#5C661D
RGBrgb(92, 102, 29)
HSLhsl(68, 56%, 26%)
HSVhsv(68, 72%, 40%)
CMYKcmyk(9.8%, 0%, 71.6%, 60%)
CIE-LABlab(41.00, -14.59, 38.16)
CIE-LCHlch(41.00, 40.85, 110.92°)
OKLaboklab(48.64% -0.0434 0.0858)
OKLCHoklch(48.64% 0.096 116.8)
XYZxyz(9.3870, 11.8669, 2.9582)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C661D #271D66
analogous
#664B1D #5C661D #37661D
triadic
#5C661D #1D5C66 #661D5C
tetradic
#5C661D #1D664B #271D66 #661D37
square
#5C661D #1D664B #271D66 #661D37
split-complementary
#5C661D #1D3766 #4B1D66
monochromatic
#151807 #31360F #5C661D #87962B #B2C538

Accessibility & contrast

On white

6.23
#5C661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5C661D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C661D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C661D#FFFFFF#000000##FFFFFF
##5C661D1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c661d;
/* rgb */ color: rgb(92, 102, 29);
/* oklch */ color: oklch(48.6% 0.096 116.8);
Tailwind
colors: {
  custom: {
    50: '#8c915e',
    500: '#5c661d',
    950: '#000000',
  },
}
SCSS
$custom: #5c661d;
$custom-light: #8c915e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c661d",
  "rgb": {
    "r": 92,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 68.219,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4864,
    "c": 0.0962,
    "h": 116.8
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#5C661D
secondary
#50449B
accent
#49DF5D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C661D

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

Preview Lab → · Contrast checker → · Palette generator →

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