#6D6717#6D6717

#6D6717 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.4% C 0.097 H 105.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6D6717
RGBrgb(109, 103, 23)
HSLhsl(56, 65%, 26%)
HSVhsv(56, 79%, 43%)
CMYKcmyk(0%, 5.5%, 78.9%, 57.3%)
CIE-LABlab(42.78, -7.44, 42.84)
CIE-LCHlch(42.78, 43.48, 99.85°)
OKLaboklab(50.42% -0.0251 0.094)
OKLCHoklch(50.42% 0.097 105)
XYZxyz(11.3121, 13.0140, 2.7265)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6717 #171D6D
analogous
#6D3C17 #6D6717 #486D17
triadic
#6D6717 #176D67 #67176D
tetradic
#6D6717 #176D3C #171D6D #6D1748
square
#6D6717 #176D3C #171D6D #6D1748
split-complementary
#6D6717 #17486D #3C176D
monochromatic
#191805 #3A370C #6D6717 #A09722 #D2C72C

Accessibility & contrast

On white

5.83
#6D6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6D6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6717
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6717#FFFFFF#000000##FFFFFF
##6D67171.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716306
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#765F58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d6717;
/* rgb */ color: rgb(109, 103, 23);
/* oklch */ color: oklch(50.4% 0.097 105.0);
Tailwind
colors: {
  custom: {
    50: '#9a925b',
    500: '#6d6717',
    950: '#000000',
  },
}
SCSS
$custom: #6d6717;
$custom-light: #9a925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6717",
  "rgb": {
    "r": 109,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 55.814,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.09727,
    "h": 105
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#6D6717
secondary
#3D44A3
accent
#4BE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6D6717

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

Preview Lab → · Contrast checker → · Palette generator →

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