#6D7717#6D7717

#6D7717 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.3% C 0.115 H 115.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6D7717
RGBrgb(109, 119, 23)
HSLhsl(66, 68%, 28%)
HSVhsv(66, 81%, 47%)
CMYKcmyk(8.4%, 0%, 80.7%, 53.3%)
CIE-LABlab(47.63, -16.28, 47.30)
CIE-LCHlch(47.63, 50.02, 108.99°)
OKLaboklab(54.3% -0.0497 0.1035)
OKLCHoklch(54.3% 0.115 115.7)
XYZxyz(13.0585, 16.5069, 3.3087)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7717 #211777
analogous
#775117 #6D7717 #3D7717
triadic
#6D7717 #176D77 #77176D
tetradic
#6D7717 #177751 #211777 #77173D
square
#6D7717 #177751 #211777 #77173D
split-complementary
#6D7717 #173D77 #511777
monochromatic
#171A05 #3E440D #6D7717 #9CAA21 #C6D731

Accessibility & contrast

On white

4.88
#6D7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6D7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7717
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7717#FFFFFF#000000##FFFFFF
##6D77171.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#757065
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6d7717;
/* rgb */ color: rgb(109, 119, 23);
/* oklch */ color: oklch(54.3% 0.115 115.7);
Tailwind
colors: {
  custom: {
    50: '#9a9e5d',
    500: '#6d7717',
    950: '#000000',
  },
}
SCSS
$custom: #6d7717;
$custom-light: #9a9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7717",
  "rgb": {
    "r": 109,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 66.25,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.11478,
    "h": 115.7
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

primary
#6D7717
secondary
#493EAC
accent
#3DEA4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7717

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

Preview Lab → · Contrast checker → · Palette generator →

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