#6A6A42#6A6A42

#6A6A42 is a mid, muted yellow. Relative luminance 0.138; OKLCH L 51.4% C 0.058 H 108.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6A6A42
RGBrgb(106, 106, 66)
HSLhsl(60, 23%, 34%)
HSVhsv(60, 38%, 42%)
CMYKcmyk(0%, 0%, 37.7%, 58.4%)
CIE-LABlab(43.90, -6.77, 22.49)
CIE-LCHlch(43.90, 23.49, 106.75°)
OKLaboklab(51.4% -0.0183 0.0553)
OKLCHoklch(51.4% 0.058 108.3)
XYZxyz(12.0814, 13.7658, 7.1738)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6A42 #42426A
analogous
#6A5642 #6A6A42 #566A42
triadic
#6A6A42 #426A6A #6A426A
tetradic
#6A6A42 #426A56 #42426A #6A4256
square
#6A6A42 #426A56 #42426A #6A4256
split-complementary
#6A6A42 #42566A #56426A
monochromatic
#1F1F13 #44442B #6A6A42 #909059 #ACAC7A

Accessibility & contrast

On white

5.60
#6A6A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6A6A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6A42
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6A42#FFFFFF#000000##FFFFFF
##6A6A421.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70673F
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#6F6560
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a6a42;
/* rgb */ color: rgb(106, 106, 66);
/* oklch */ color: oklch(51.4% 0.058 108.3);
Tailwind
colors: {
  custom: {
    50: '#959477',
    500: '#6a6a42',
    950: '#000000',
  },
}
SCSS
$custom: #6a6a42;
$custom-light: #959477;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6a42",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 23.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.05821,
    "h": 108.3
  },
  "luminance": 0.13766
}

Semantic roles & 50–950 ramp

primary
#6A6A42
secondary
#707098
accent
#68C068
background
#F9F9F7
surface
#F2F1ED
border
#CCCBC8
text
#0D0D08
muted
#7E7E7B

Preview Lab

Preview with #6A6A42

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

Preview Lab → · Contrast checker → · Palette generator →

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