#6C6417#6C6417

#6C6417 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.6% C 0.094 H 103.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6C6417
RGBrgb(108, 100, 23)
HSLhsl(54, 65%, 26%)
HSVhsv(54, 79%, 42%)
CMYKcmyk(0%, 7.4%, 78.7%, 57.6%)
CIE-LABlab(41.79, -6.20, 41.88)
CIE-LCHlch(41.79, 42.33, 98.42°)
OKLaboklab(49.61% -0.0216 0.092)
OKLCHoklch(49.61% 0.094 103.2)
XYZxyz(10.8967, 12.3648, 2.6231)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6417 #171F6C
analogous
#6C3917 #6C6417 #496C17
triadic
#6C6417 #176C64 #64176C
tetradic
#6C6417 #176C39 #171F6C #6C1749
square
#6C6417 #176C39 #171F6C #6C1749
split-complementary
#6C6417 #17496C #39176C
monochromatic
#191705 #3A350C #6C6417 #9E9322 #D1C12C

Accessibility & contrast

On white

6.05
#6C6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6C6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6417
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6417#FFFFFF#000000##FFFFFF
##6C64171.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6008
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#755C55
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6c6417;
/* rgb */ color: rgb(108, 100, 23);
/* oklch */ color: oklch(49.6% 0.094 103.2);
Tailwind
colors: {
  custom: {
    50: '#998f5b',
    500: '#6c6417',
    950: '#000000',
  },
}
SCSS
$custom: #6c6417;
$custom-light: #998f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6417",
  "rgb": {
    "r": 108,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 54.353,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.09446,
    "h": 103.2
  },
  "luminance": 0.12364
}

Semantic roles & 50–950 ramp

primary
#6C6417
secondary
#3D46A2
accent
#50E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6417

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

Preview Lab → · Contrast checker → · Palette generator →

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