#6A6540#6A6540

#6A6540 is a mid, muted yellow. Relative luminance 0.127; OKLCH L 50.2% C 0.054 H 101.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6A6540
RGBrgb(106, 101, 64)
HSLhsl(53, 25%, 33%)
HSVhsv(53, 40%, 42%)
CMYKcmyk(0%, 4.7%, 39.6%, 58.4%)
CIE-LABlab(42.37, -4.14, 21.67)
CIE-LCHlch(42.37, 22.07, 100.81°)
OKLaboklab(50.18% -0.0108 0.0533)
OKLCHoklch(50.18% 0.054 101.5)
XYZxyz(11.5231, 12.7420, 6.7019)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6540 #40456A
analogous
#6A5040 #6A6540 #5A6A40
triadic
#6A6540 #406A65 #65406A
tetradic
#6A6540 #406A50 #40456A #6A405A
square
#6A6540 #406A50 #40456A #6A405A
split-complementary
#6A6540 #405A6A #50406A
monochromatic
#1E1C12 #444129 #6A6540 #908957 #ADA777

Accessibility & contrast

On white

5.92
#6A6540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6A6540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6540
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6540#FFFFFF#000000##FFFFFF
##6A65401.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B633D
Deuteranopia (green-blind)
#6D6541
Tritanopia (blue-blind)
#70605C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a6540;
/* rgb */ color: rgb(106, 101, 64);
/* oklch */ color: oklch(50.2% 0.054 101.5);
Tailwind
colors: {
  custom: {
    50: '#959075',
    500: '#6a6540',
    950: '#000000',
  },
}
SCSS
$custom: #6a6540;
$custom-light: #959075;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6540",
  "rgb": {
    "r": 106,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 52.857,
    "s": 24.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.05439,
    "h": 101.5
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#6A6540
secondary
#6D7398
accent
#71C167
background
#F9F8F7
surface
#F2F0ED
border
#CCCBC8
text
#0D0C08
muted
#7E7D7B

Preview Lab

Preview with #6A6540

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

Preview Lab → · Contrast checker → · Palette generator →

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