#6C6618#6C6618

#6C6618 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.096 H 104.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6C6618
RGBrgb(108, 102, 24)
HSLhsl(56, 64%, 26%)
HSVhsv(56, 78%, 42%)
CMYKcmyk(0%, 5.6%, 77.8%, 57.6%)
CIE-LABlab(42.40, -7.30, 42.06)
CIE-LCHlch(42.40, 42.69, 99.84°)
OKLaboklab(50.09% -0.0246 0.0926)
OKLCHoklch(50.09% 0.096 104.9)
XYZxyz(11.1011, 12.7573, 2.7416)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C6618 #181E6C
analogous
#6C3C18 #6C6618 #486C18
triadic
#6C6618 #186C66 #66186C
tetradic
#6C6618 #186C3C #181E6C #6C1848
square
#6C6618 #186C3C #181E6C #6C1848
split-complementary
#6C6618 #18486C #3C186C
monochromatic
#191806 #3A370D #6C6618 #9E9523 #D0C52E

Accessibility & contrast

On white

5.91
#6C6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6C6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C6618
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C6618#FFFFFF#000000##FFFFFF
##6C66181.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706209
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#755F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c6618;
/* rgb */ color: rgb(108, 102, 24);
/* oklch */ color: oklch(50.1% 0.096 104.9);
Tailwind
colors: {
  custom: {
    50: '#99915b',
    500: '#6c6618',
    950: '#000000',
  },
}
SCSS
$custom: #6c6618;
$custom-light: #99915b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c6618",
  "rgb": {
    "r": 108,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 55.714,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50091,
    "c": 0.09578,
    "h": 104.9
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#6C6618
secondary
#3E45A2
accent
#4DE741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C6618

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

Preview Lab → · Contrast checker → · Palette generator →

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