#6D6618#6D6618

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

Color values

HEX#6D6618
RGBrgb(109, 102, 24)
HSLhsl(55, 64%, 26%)
HSVhsv(55, 78%, 43%)
CMYKcmyk(0%, 6.4%, 78%, 57.3%)
CIE-LABlab(42.49, -6.82, 42.19)
CIE-LCHlch(42.49, 42.73, 99.18°)
OKLaboklab(50.19% -0.0233 0.0928)
OKLCHoklch(50.19% 0.096 104.1)
XYZxyz(11.2234, 12.8204, 2.7474)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6618 #181F6D
analogous
#6D3B18 #6D6618 #496D18
triadic
#6D6618 #186D66 #66186D
tetradic
#6D6618 #186D3B #181F6D #6D1849
square
#6D6618 #186D3B #181F6D #6D1849
split-complementary
#6D6618 #18496D #3B186D
monochromatic
#191706 #3B370D #6D6618 #9F9523 #D1C42E

Accessibility & contrast

On white

5.89
#6D6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6D6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6618
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6618#FFFFFF#000000##FFFFFF
##6D66181.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d6618;
/* rgb */ color: rgb(109, 102, 24);
/* oklch */ color: oklch(50.2% 0.096 104.1);
Tailwind
colors: {
  custom: {
    50: '#9a915c',
    500: '#6d6618',
    950: '#000000',
  },
}
SCSS
$custom: #6d6618;
$custom-light: #9a915c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6618",
  "rgb": {
    "r": 109,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 55.059,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.09567,
    "h": 104.1
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#6D6618
secondary
#3E46A3
accent
#4FE741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6D6618

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

Preview Lab → · Contrast checker → · Palette generator →

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