#6C6517#6C6517

#6C6517 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.8% C 0.095 H 104.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6C6517
RGBrgb(108, 101, 23)
HSLhsl(55, 65%, 26%)
HSVhsv(55, 79%, 42%)
CMYKcmyk(0%, 6.5%, 78.7%, 57.6%)
CIE-LABlab(42.09, -6.77, 42.16)
CIE-LCHlch(42.09, 42.70, 99.13°)
OKLaboklab(49.85% -0.0232 0.0926)
OKLCHoklch(49.85% 0.095 104.1)
XYZxyz(10.9932, 12.5578, 2.6553)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6517 #171E6C
analogous
#6C3A17 #6C6517 #486C17
triadic
#6C6517 #176C65 #65176C
tetradic
#6C6517 #176C3A #171E6C #6C1748
square
#6C6517 #176C3A #171E6C #6C1748
split-complementary
#6C6517 #17486C #3A176C
monochromatic
#191805 #3A360C #6C6517 #9E9422 #D1C32C

Accessibility & contrast

On white

5.98
#6C6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6C6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6517
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6517#FFFFFF#000000##FFFFFF
##6C65171.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6107
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#755D56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6c6517;
/* rgb */ color: rgb(108, 101, 23);
/* oklch */ color: oklch(49.8% 0.095 104.1);
Tailwind
colors: {
  custom: {
    50: '#99905b',
    500: '#6c6517',
    950: '#000000',
  },
}
SCSS
$custom: #6c6517;
$custom-light: #99905b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6517",
  "rgb": {
    "r": 108,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 55.059,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49845,
    "c": 0.09542,
    "h": 104.1
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#6C6517
secondary
#3D45A2
accent
#4EE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6517

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

Preview Lab → · Contrast checker → · Palette generator →

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