#5C661F#5C661F

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

Color values

HEX#5C661F
RGBrgb(92, 102, 31)
HSLhsl(68, 53%, 26%)
HSVhsv(68, 70%, 40%)
CMYKcmyk(9.8%, 0%, 69.6%, 60%)
CIE-LABlab(41.02, -14.45, 37.29)
CIE-LCHlch(41.02, 39.99, 111.18°)
OKLaboklab(48.66% -0.0428 0.0844)
OKLCHoklch(48.66% 0.095 116.9)
XYZxyz(9.4125, 11.8771, 3.0927)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C661F #291F66
analogous
#664C1F #5C661F #38661F
triadic
#5C661F #1F5C66 #661F5C
tetradic
#5C661F #1F664C #291F66 #661F38
square
#5C661F #1F664C #291F66 #661F38
split-complementary
#5C661F #1F3866 #4C1F66
monochromatic
#151707 #323711 #5C661F #86952D #B1C43C

Accessibility & contrast

On white

6.22
#5C661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C661F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C661F#FFFFFF#000000##FFFFFF
##5C661F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#626058
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c661f;
/* rgb */ color: rgb(92, 102, 31);
/* oklch */ color: oklch(48.7% 0.095 116.9);
Tailwind
colors: {
  custom: {
    50: '#8c915f',
    500: '#5c661f',
    950: '#000000',
  },
}
SCSS
$custom: #5c661f;
$custom-light: #8c915f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c661f",
  "rgb": {
    "r": 92,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 68.451,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48659,
    "c": 0.0946,
    "h": 116.9
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#5C661F
secondary
#52469A
accent
#4BDD60
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5C661F

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

Preview Lab → · Contrast checker → · Palette generator →

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