#6D6617#6D6617

#6D6617 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#6D6617
RGBrgb(109, 102, 23)
HSLhsl(55, 65%, 26%)
HSVhsv(55, 79%, 43%)
CMYKcmyk(0%, 6.4%, 78.9%, 57.3%)
CIE-LABlab(42.49, -6.86, 42.56)
CIE-LCHlch(42.49, 43.11, 99.16°)
OKLaboklab(50.18% -0.0235 0.0934)
OKLCHoklch(50.18% 0.096 104.1)
XYZxyz(11.2132, 12.8163, 2.6936)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6617 #171E6D
analogous
#6D3B17 #6D6617 #496D17
triadic
#6D6617 #176D66 #66176D
tetradic
#6D6617 #176D3B #171E6D #6D1749
square
#6D6617 #176D3B #171E6D #6D1749
split-complementary
#6D6617 #17496D #3B176D
monochromatic
#191805 #3A370C #6D6617 #A09522 #D2C52C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D6617#FFFFFF#000000##FFFFFF
##6D66171.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)
#706207
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#765E57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6d6617;
/* rgb */ color: rgb(109, 102, 23);
/* oklch */ color: oklch(50.2% 0.096 104.1);
Tailwind
colors: {
  custom: {
    50: '#9a915b',
    500: '#6d6617',
    950: '#000000',
  },
}
SCSS
$custom: #6d6617;
$custom-light: #9a915b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6617",
  "rgb": {
    "r": 109,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 55.116,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50183,
    "c": 0.09629,
    "h": 104.1
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

primary
#6D6617
secondary
#3D45A3
accent
#4DE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6D6617

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

Preview Lab → · Contrast checker → · Palette generator →

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