#6D671F#6D671F

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

Color values

HEX#6D671F
RGBrgb(109, 103, 31)
HSLhsl(55, 56%, 27%)
HSVhsv(55, 72%, 43%)
CMYKcmyk(0%, 5.5%, 71.6%, 57.3%)
CIE-LABlab(42.84, -7.01, 39.64)
CIE-LCHlch(42.84, 40.25, 100.03°)
OKLaboklab(50.48% -0.023 0.0888)
OKLCHoklch(50.48% 0.092 104.5)
XYZxyz(11.4047, 13.0511, 3.2144)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D671F #1F256D
analogous
#6D401F #6D671F #4C6D1F
triadic
#6D671F #1F6D67 #671F6D
tetradic
#6D671F #1F6D40 #1F256D #6D1F4C
square
#6D671F #1F6D40 #1F256D #6D1F4C
split-complementary
#6D671F #1F4C6D #401F6D
monochromatic
#181707 #3D3A11 #6D671F #9D942D #C8BE3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D671F#FFFFFF#000000##FFFFFF
##6D671F1.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)
#706315
Deuteranopia (green-blind)
#726724
Tritanopia (blue-blind)
#756058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d671f;
/* rgb */ color: rgb(109, 103, 31);
/* oklch */ color: oklch(50.5% 0.092 104.5);
Tailwind
colors: {
  custom: {
    50: '#99925f',
    500: '#6d671f',
    950: '#000000',
  },
}
SCSS
$custom: #6d671f;
$custom-light: #99925f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d671f",
  "rgb": {
    "r": 109,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 55.385,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.09172,
    "h": 104.5
  },
  "luminance": 0.13051
}

Semantic roles & 50–950 ramp

primary
#6D671F
secondary
#474EA1
accent
#54DF49
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6D671F

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

Preview Lab → · Contrast checker → · Palette generator →

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