#6C6317#6C6317

#6C6317 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.4% C 0.094 H 102.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6C6317
RGBrgb(108, 99, 23)
HSLhsl(54, 65%, 26%)
HSVhsv(54, 79%, 42%)
CMYKcmyk(0%, 8.3%, 78.7%, 57.6%)
CIE-LABlab(41.49, -5.62, 41.60)
CIE-LCHlch(41.49, 41.97, 97.70°)
OKLaboklab(49.37% -0.02 0.0914)
OKLCHoklch(49.37% 0.094 102.3)
XYZxyz(10.8013, 12.1742, 2.5913)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6317 #17206C
analogous
#6C3817 #6C6317 #4A6C17
triadic
#6C6317 #176C63 #63176C
tetradic
#6C6317 #176C38 #17206C #6C174A
square
#6C6317 #176C38 #17206C #6C174A
split-complementary
#6C6317 #174A6C #38176C
monochromatic
#191705 #3A350C #6C6317 #9E9122 #D1BF2C

Accessibility & contrast

On white

6.11
#6C6317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6C6317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6317
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6317#FFFFFF#000000##FFFFFF
##6C63171.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#755B54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6c6317;
/* rgb */ color: rgb(108, 99, 23);
/* oklch */ color: oklch(49.4% 0.094 102.3);
Tailwind
colors: {
  custom: {
    50: '#998f5b',
    500: '#6c6317',
    950: '#000000',
  },
}
SCSS
$custom: #6c6317;
$custom-light: #998f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6317",
  "rgb": {
    "r": 108,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 53.647,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.09352,
    "h": 102.3
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#6C6317
secondary
#3D48A2
accent
#52E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6317

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

Preview Lab → · Contrast checker → · Palette generator →

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