#6A671F#6A671F

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

Color values

HEX#6A671F
RGBrgb(106, 103, 31)
HSLhsl(58, 55%, 27%)
HSVhsv(58, 71%, 42%)
CMYKcmyk(0%, 2.8%, 70.8%, 58.4%)
CIE-LABlab(42.56, -8.43, 39.26)
CIE-LCHlch(42.56, 40.15, 102.12°)
OKLaboklab(50.19% -0.0269 0.0881)
OKLCHoklch(50.19% 0.092 107)
XYZxyz(11.0418, 12.8640, 3.1974)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A671F #1F226A
analogous
#6A421F #6A671F #486A1F
triadic
#6A671F #1F6A67 #671F6A
tetradic
#6A671F #1F6A42 #1F226A #6A1F48
square
#6A671F #1F6A42 #1F226A #6A1F48
split-complementary
#6A671F #1F486A #421F6A
monochromatic
#181707 #3B3911 #6A671F #99952D #C6C13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A671F#FFFFFF#000000##FFFFFF
##6A671F1.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)
#706315
Deuteranopia (green-blind)
#716624
Tritanopia (blue-blind)
#726058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a671f;
/* rgb */ color: rgb(106, 103, 31);
/* oklch */ color: oklch(50.2% 0.092 107.0);
Tailwind
colors: {
  custom: {
    50: '#97925f',
    500: '#6a671f',
    950: '#000000',
  },
}
SCSS
$custom: #6a671f;
$custom-light: #97925f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a671f",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 57.6,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.09209,
    "h": 107
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#6A671F
secondary
#474A9E
accent
#50DE4A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6A671F

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

Preview Lab → · Contrast checker → · Palette generator →

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