#6A6342#6A6342

#6A6342 is a mid, muted yellow. Relative luminance 0.124; OKLCH L 49.7% C 0.049 H 97.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6A6342
RGBrgb(106, 99, 66)
HSLhsl(50, 23%, 34%)
HSVhsv(50, 38%, 42%)
CMYKcmyk(0%, 6.6%, 37.7%, 58.4%)
CIE-LABlab(41.82, -2.70, 19.78)
CIE-LCHlch(41.82, 19.96, 97.79°)
OKLaboklab(49.75% -0.0066 0.049)
OKLCHoklch(49.75% 0.049 97.6)
XYZxyz(11.3892, 12.3815, 6.9431)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6342 #42496A
analogous
#6A4F42 #6A6342 #5D6A42
triadic
#6A6342 #426A63 #63426A
tetradic
#6A6342 #426A4F #42496A #6A425D
square
#6A6342 #426A4F #42496A #6A425D
split-complementary
#6A6342 #425D6A #4F426A
monochromatic
#1F1D13 #44402B #6A6342 #908659 #ACA37A

Accessibility & contrast

On white

6.04
#6A6342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6A6342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6342
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6342#FFFFFF#000000##FFFFFF
##6A63421.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696140
Deuteranopia (green-blind)
#6B6443
Tritanopia (blue-blind)
#705E5B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a6342;
/* rgb */ color: rgb(106, 99, 66);
/* oklch */ color: oklch(49.7% 0.049 97.6);
Tailwind
colors: {
  custom: {
    50: '#958f76',
    500: '#6a6342',
    950: '#000000',
  },
}
SCSS
$custom: #6a6342;
$custom-light: #958f76;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6342",
  "rgb": {
    "r": 106,
    "g": 99,
    "b": 66
  },
  "hsl": {
    "h": 49.5,
    "s": 23.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.49749,
    "c": 0.04943,
    "h": 97.6
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#6A6342
secondary
#707798
accent
#77C068
background
#F9F8F7
surface
#F2F0ED
border
#CCCBC8
text
#0D0C08
muted
#7E7D7B

Preview Lab

Preview with #6A6342

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

Preview Lab → · Contrast checker → · Palette generator →

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