#6D6517#6D6517

#6D6517 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.9% C 0.095 H 103.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6D6517
RGBrgb(109, 101, 23)
HSLhsl(54, 65%, 26%)
HSVhsv(54, 79%, 43%)
CMYKcmyk(0%, 7.3%, 78.9%, 57.3%)
CIE-LABlab(42.19, -6.29, 42.28)
CIE-LCHlch(42.19, 42.75, 98.46°)
OKLaboklab(49.95% -0.0219 0.0928)
OKLCHoklch(49.95% 0.095 103.3)
XYZxyz(11.1155, 12.6209, 2.6610)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6517 #171F6D
analogous
#6D3A17 #6D6517 #4A6D17
triadic
#6D6517 #176D65 #65176D
tetradic
#6D6517 #176D3A #171F6D #6D174A
square
#6D6517 #176D3A #171F6D #6D174A
split-complementary
#6D6517 #174A6D #3A176D
monochromatic
#191705 #3A360C #6D6517 #A09422 #D2C32C

Accessibility & contrast

On white

5.96
#6D6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6D6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6517
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6517#FFFFFF#000000##FFFFFF
##6D65171.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6107
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#765D56
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6d6517;
/* rgb */ color: rgb(109, 101, 23);
/* oklch */ color: oklch(49.9% 0.095 103.3);
Tailwind
colors: {
  custom: {
    50: '#9a905b',
    500: '#6d6517',
    950: '#000000',
  },
}
SCSS
$custom: #6d6517;
$custom-light: #9a905b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6517",
  "rgb": {
    "r": 109,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 54.419,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.09533,
    "h": 103.3
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#6D6517
secondary
#3D46A3
accent
#4FE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6D6517

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

Preview Lab → · Contrast checker → · Palette generator →

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