#6C6117#6C6117

#6C6117 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.9% C 0.092 H 100.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6C6117
RGBrgb(108, 97, 23)
HSLhsl(52, 65%, 26%)
HSVhsv(52, 79%, 42%)
CMYKcmyk(0%, 10.2%, 78.7%, 57.6%)
CIE-LABlab(40.90, -4.46, 41.03)
CIE-LCHlch(40.90, 41.28, 96.21°)
OKLaboklab(48.9% -0.0167 0.0902)
OKLCHoklch(48.9% 0.092 100.5)
XYZxyz(10.6142, 11.7999, 2.5290)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6117 #17226C
analogous
#6C3617 #6C6117 #4C6C17
triadic
#6C6117 #176C61 #61176C
tetradic
#6C6117 #176C36 #17226C #6C174C
square
#6C6117 #176C36 #17226C #6C174C
split-complementary
#6C6117 #174C6C #36176C
monochromatic
#191705 #3A340C #6C6117 #9E8E22 #D1BC2C

Accessibility & contrast

On white

6.25
#6C6117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6C6117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6117
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6117#FFFFFF#000000##FFFFFF
##6C61171.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#755953
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c6117;
/* rgb */ color: rgb(108, 97, 23);
/* oklch */ color: oklch(48.9% 0.092 100.5);
Tailwind
colors: {
  custom: {
    50: '#998d5a',
    500: '#6c6117',
    950: '#000000',
  },
}
SCSS
$custom: #6c6117;
$custom-light: #998d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6117",
  "rgb": {
    "r": 108,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 52.235,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.09171,
    "h": 100.5
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

primary
#6C6117
secondary
#3D4AA2
accent
#56E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6117

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

Preview Lab → · Contrast checker → · Palette generator →

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