#6A6742#6A6742

#6A6742 is a mid, muted yellow. Relative luminance 0.132; OKLCH L 50.7% C 0.054 H 104.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6A6742
RGBrgb(106, 103, 66)
HSLhsl(56, 23%, 34%)
HSVhsv(56, 38%, 42%)
CMYKcmyk(0%, 2.8%, 37.7%, 58.4%)
CIE-LABlab(43.00, -5.04, 21.33)
CIE-LCHlch(43.00, 21.92, 103.30°)
OKLaboklab(50.69% -0.0133 0.0526)
OKLCHoklch(50.69% 0.054 104.2)
XYZxyz(11.7776, 13.1583, 7.0726)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6742 #42456A
analogous
#6A5342 #6A6742 #596A42
triadic
#6A6742 #426A67 #67426A
tetradic
#6A6742 #426A53 #42456A #6A4259
square
#6A6742 #426A53 #42456A #6A4259
split-complementary
#6A6742 #42596A #53426A
monochromatic
#1F1E13 #44422B #6A6742 #908C59 #ACA97A

Accessibility & contrast

On white

5.78
#6A6742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6A6742 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6742
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6742#FFFFFF#000000##FFFFFF
##6A67421.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D643F
Deuteranopia (green-blind)
#6E6643
Tritanopia (blue-blind)
#70625E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a6742;
/* rgb */ color: rgb(106, 103, 66);
/* oklch */ color: oklch(50.7% 0.054 104.2);
Tailwind
colors: {
  custom: {
    50: '#959277',
    500: '#6a6742',
    950: '#000000',
  },
}
SCSS
$custom: #6a6742;
$custom-light: #959277;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6742",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 66
  },
  "hsl": {
    "h": 55.5,
    "s": 23.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.50686,
    "c": 0.05425,
    "h": 104.2
  },
  "luminance": 0.13158
}

Semantic roles & 50–950 ramp

primary
#6A6742
secondary
#707398
accent
#6FC068
background
#F9F8F7
surface
#F2F0ED
border
#CCCBC8
text
#0D0D08
muted
#7E7D7B

Preview Lab

Preview with #6A6742

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

Preview Lab → · Contrast checker → · Palette generator →

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