#6A671C#6A671C

#6A671C is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.2% C 0.094 H 107.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6A671C
RGBrgb(106, 103, 28)
HSLhsl(58, 58%, 26%)
HSVhsv(58, 74%, 42%)
CMYKcmyk(0%, 2.8%, 73.6%, 58.4%)
CIE-LABlab(42.53, -8.61, 40.52)
CIE-LCHlch(42.53, 41.43, 102.00°)
OKLaboklab(50.17% -0.0277 0.0902)
OKLCHoklch(50.17% 0.094 107.1)
XYZxyz(11.0041, 12.8489, 2.9988)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A671C #1C1F6A
analogous
#6A401C #6A671C #466A1C
triadic
#6A671C #1C6A67 #671C6A
tetradic
#6A671C #1C6A40 #1C1F6A #6A1C46
square
#6A671C #1C6A40 #1C1F6A #6A1C46
split-complementary
#6A671C #1C466A #401C6A
monochromatic
#181806 #3A380F #6A671C #9A9629 #CAC436

Accessibility & contrast

On white

5.88
#6A671C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6A671C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A671C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A671C#FFFFFF#000000##FFFFFF
##6A671C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706310
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#726058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a671c;
/* rgb */ color: rgb(106, 103, 28);
/* oklch */ color: oklch(50.2% 0.094 107.1);
Tailwind
colors: {
  custom: {
    50: '#97925e',
    500: '#6a671c',
    950: '#000000',
  },
}
SCSS
$custom: #6a671c;
$custom-light: #97925e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a671c",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 57.692,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.09435,
    "h": 107.1
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#6A671C
secondary
#43469F
accent
#4CE146
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A671C

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

Preview Lab → · Contrast checker → · Palette generator →

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