#6C6617#6C6617

#6C6617 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.096 H 104.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6C6617
RGBrgb(108, 102, 23)
HSLhsl(56, 65%, 26%)
HSVhsv(56, 79%, 42%)
CMYKcmyk(0%, 5.6%, 78.7%, 57.6%)
CIE-LABlab(42.39, -7.35, 42.44)
CIE-LCHlch(42.39, 43.07, 99.82°)
OKLaboklab(50.08% -0.0248 0.0932)
OKLCHoklch(50.08% 0.096 104.9)
XYZxyz(11.0908, 12.7532, 2.6878)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6617 #171D6C
analogous
#6C3B17 #6C6617 #476C17
triadic
#6C6617 #176C66 #66176C
tetradic
#6C6617 #176C3B #171D6C #6C1747
square
#6C6617 #176C3B #171D6C #6C1747
split-complementary
#6C6617 #17476C #3B176C
monochromatic
#191805 #3A360C #6C6617 #9E9622 #D1C52C

Accessibility & contrast

On white

5.91
#6C6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6C6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6617
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6617#FFFFFF#000000##FFFFFF
##6C66171.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706207
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#755F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c6617;
/* rgb */ color: rgb(108, 102, 23);
/* oklch */ color: oklch(50.1% 0.096 104.9);
Tailwind
colors: {
  custom: {
    50: '#99915b',
    500: '#6c6617',
    950: '#000000',
  },
}
SCSS
$custom: #6c6617;
$custom-light: #99915b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6617",
  "rgb": {
    "r": 108,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 55.765,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50084,
    "c": 0.09641,
    "h": 104.9
  },
  "luminance": 0.12753
}

Semantic roles & 50–950 ramp

primary
#6C6617
secondary
#3D44A2
accent
#4CE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6617

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

Preview Lab → · Contrast checker → · Palette generator →

#6C6617 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva