#6C6717#6C6717

#6C6717 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.3% C 0.097 H 105.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6C6717
RGBrgb(108, 103, 23)
HSLhsl(56, 65%, 26%)
HSVhsv(56, 79%, 42%)
CMYKcmyk(0%, 4.6%, 78.7%, 57.6%)
CIE-LABlab(42.69, -7.92, 42.72)
CIE-LCHlch(42.69, 43.44, 100.50°)
OKLaboklab(50.32% -0.0264 0.0938)
OKLCHoklch(50.32% 0.097 105.7)
XYZxyz(11.1897, 12.9509, 2.7208)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6717 #171C6C
analogous
#6C3C17 #6C6717 #466C17
triadic
#6C6717 #176C67 #67176C
tetradic
#6C6717 #176C3C #171C6C #6C1746
square
#6C6717 #176C3C #171C6C #6C1746
split-complementary
#6C6717 #17466C #3C176C
monochromatic
#191805 #3A370C #6C6717 #9E9722 #D1C72C

Accessibility & contrast

On white

5.85
#6C6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6C6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6717
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6717#FFFFFF#000000##FFFFFF
##6C67171.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716306
Deuteranopia (green-blind)
#73661D
Tritanopia (blue-blind)
#756058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c6717;
/* rgb */ color: rgb(108, 103, 23);
/* oklch */ color: oklch(50.3% 0.097 105.7);
Tailwind
colors: {
  custom: {
    50: '#99925b',
    500: '#6c6717',
    950: '#000000',
  },
}
SCSS
$custom: #6c6717;
$custom-light: #99925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6717",
  "rgb": {
    "r": 108,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 56.471,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50323,
    "c": 0.0974,
    "h": 105.7
  },
  "luminance": 0.12951
}

Semantic roles & 50–950 ramp

primary
#6C6717
secondary
#3D43A2
accent
#4AE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6717

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

Preview Lab → · Contrast checker → · Palette generator →

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