#6C6017#6C6017

#6C6017 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.7% C 0.091 H 99.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6C6017
RGBrgb(108, 96, 23)
HSLhsl(52, 65%, 26%)
HSVhsv(52, 79%, 42%)
CMYKcmyk(0%, 11.1%, 78.7%, 57.6%)
CIE-LABlab(40.60, -3.88, 40.75)
CIE-LCHlch(40.60, 40.94, 95.44°)
OKLaboklab(48.66% -0.015 0.0896)
OKLCHoklch(48.66% 0.091 99.5)
XYZxyz(10.5224, 11.6163, 2.4984)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6017 #17236C
analogous
#6C3517 #6C6017 #4D6C17
triadic
#6C6017 #176C60 #60176C
tetradic
#6C6017 #176C35 #17236C #6C174D
square
#6C6017 #176C35 #17236C #6C174D
split-complementary
#6C6017 #174D6C #35176C
monochromatic
#191605 #3A330C #6C6017 #9E8D22 #D1BA2C

Accessibility & contrast

On white

6.32
#6C6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6C6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6017
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6017#FFFFFF#000000##FFFFFF
##6C60171.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#755852
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c6017;
/* rgb */ color: rgb(108, 96, 23);
/* oklch */ color: oklch(48.7% 0.091 99.5);
Tailwind
colors: {
  custom: {
    50: '#998c5a',
    500: '#6c6017',
    950: '#000000',
  },
}
SCSS
$custom: #6c6017;
$custom-light: #998c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6017",
  "rgb": {
    "r": 108,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 51.529,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.09083,
    "h": 99.5
  },
  "luminance": 0.11616
}

Semantic roles & 50–950 ramp

primary
#6C6017
secondary
#3D4BA2
accent
#58E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6017

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

Preview Lab → · Contrast checker → · Palette generator →

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