#6A671D#6A671D

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

Color values

HEX#6A671D
RGBrgb(106, 103, 29)
HSLhsl(58, 57%, 26%)
HSVhsv(58, 73%, 42%)
CMYKcmyk(0%, 2.8%, 72.6%, 58.4%)
CIE-LABlab(42.54, -8.55, 40.11)
CIE-LCHlch(42.54, 41.01, 102.04°)
OKLaboklab(50.17% -0.0274 0.0895)
OKLCHoklch(50.17% 0.094 107)
XYZxyz(11.0163, 12.8537, 3.0629)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A671D #1D206A
analogous
#6A411D #6A671D #476A1D
triadic
#6A671D #1D6A67 #671D6A
tetradic
#6A671D #1D6A41 #1D206A #6A1D47
square
#6A671D #1D6A41 #1D206A #6A1D47
split-complementary
#6A671D #1D476A #411D6A
monochromatic
#181707 #3A3810 #6A671D #9A962A #C9C339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A671D#FFFFFF#000000##FFFFFF
##6A671D1.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)
#706312
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#726058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a671d;
/* rgb */ color: rgb(106, 103, 29);
/* oklch */ color: oklch(50.2% 0.094 107.0);
Tailwind
colors: {
  custom: {
    50: '#97925e',
    500: '#6a671d',
    950: '#000000',
  },
}
SCSS
$custom: #6a671d;
$custom-light: #97925e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a671d",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 57.662,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.09362,
    "h": 107
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#6A671D
secondary
#44489F
accent
#4DE048
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6A671D

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

Preview Lab → · Contrast checker → · Palette generator →

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