#6A671E#6A671E

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

Color values

HEX#6A671E
RGBrgb(106, 103, 30)
HSLhsl(58, 56%, 27%)
HSVhsv(58, 72%, 42%)
CMYKcmyk(0%, 2.8%, 71.7%, 58.4%)
CIE-LABlab(42.55, -8.49, 39.69)
CIE-LCHlch(42.55, 40.59, 102.08°)
OKLaboklab(50.18% -0.0271 0.0888)
OKLCHoklch(50.18% 0.093 107)
XYZxyz(11.0289, 12.8588, 3.1291)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A671E #1E216A
analogous
#6A411E #6A671E #476A1E
triadic
#6A671E #1E6A67 #671E6A
tetradic
#6A671E #1E6A41 #1E216A #6A1E47
square
#6A671E #1E6A41 #1E216A #6A1E47
split-complementary
#6A671E #1E476A #411E6A
monochromatic
#181707 #3A3911 #6A671E #9A952C #C7C23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A671E#FFFFFF#000000##FFFFFF
##6A671E1.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)
#706313
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#726058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a671e;
/* rgb */ color: rgb(106, 103, 30);
/* oklch */ color: oklch(50.2% 0.093 107.0);
Tailwind
colors: {
  custom: {
    50: '#97925f',
    500: '#6a671e',
    950: '#000000',
  },
}
SCSS
$custom: #6a671e;
$custom-light: #97925f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a671e",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 57.632,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50182,
    "c": 0.09287,
    "h": 107
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#6A671E
secondary
#45499E
accent
#4FDF49
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6A671E

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

Preview Lab → · Contrast checker → · Palette generator →

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