#6A6738#6A6738

#6A6738 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.5% C 0.067 H 105.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6A6738
RGBrgb(106, 103, 56)
HSLhsl(56, 31%, 32%)
HSVhsv(56, 47%, 42%)
CMYKcmyk(0%, 2.8%, 47.2%, 58.4%)
CIE-LABlab(42.84, -6.26, 26.83)
CIE-LCHlch(42.84, 27.55, 103.13°)
OKLaboklab(50.51% -0.0177 0.0645)
OKLCHoklch(50.51% 0.067 105.3)
XYZxyz(11.5082, 13.0505, 5.6534)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6738 #383B6A
analogous
#6A4E38 #6A6738 #546A38
triadic
#6A6738 #386A67 #67386A
tetradic
#6A6738 #386A4E #383B6A #6A3854
square
#6A6738 #386A4E #383B6A #6A3854
split-complementary
#6A6738 #38546A #4E386A
monochromatic
#1A190E #424023 #6A6738 #928E4D #B1AD6B

Accessibility & contrast

On white

5.82
#6A6738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6A6738 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6738
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6738#FFFFFF#000000##FFFFFF
##6A67381.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6434
Deuteranopia (green-blind)
#70663A
Tritanopia (blue-blind)
#70615C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6738;
/* rgb */ color: rgb(106, 103, 56);
/* oklch */ color: oklch(50.5% 0.067 105.3);
Tailwind
colors: {
  custom: {
    50: '#96926f',
    500: '#6a6738',
    950: '#000000',
  },
}
SCSS
$custom: #6a6738;
$custom-light: #96926f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6738",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 56
  },
  "hsl": {
    "h": 56.4,
    "s": 30.864,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50506,
    "c": 0.06691,
    "h": 105.3
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#6A6738
secondary
#63679A
accent
#67C761
background
#F9F8F6
surface
#F2F0EC
border
#CCCBC7
text
#0D0D07
muted
#7E7D7A

Preview Lab

Preview with #6A6738

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

Preview Lab → · Contrast checker → · Palette generator →

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