#6D671B#6D671B

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

Color values

HEX#6D671B
RGBrgb(109, 103, 27)
HSLhsl(56, 60%, 27%)
HSVhsv(56, 75%, 43%)
CMYKcmyk(0%, 5.5%, 75.2%, 57.3%)
CIE-LABlab(42.81, -7.24, 41.30)
CIE-LCHlch(42.81, 41.93, 99.94°)
OKLaboklab(50.45% -0.0241 0.0915)
OKLCHoklch(50.45% 0.095 104.8)
XYZxyz(11.3552, 13.0313, 2.9538)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D671B #1B216D
analogous
#6D3E1B #6D671B #4A6D1B
triadic
#6D671B #1B6D67 #671B6D
tetradic
#6D671B #1B6D3E #1B216D #6D1B4A
square
#6D671B #1B6D3E #1B216D #6D1B4A
split-complementary
#6D671B #1B4A6D #3E1B6D
monochromatic
#191706 #3C390F #6D671B #9E9527 #CDC235

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D671B#FFFFFF#000000##FFFFFF
##6D671B1.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)
#71630E
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#766058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6d671b;
/* rgb */ color: rgb(109, 103, 27);
/* oklch */ color: oklch(50.5% 0.095 104.8);
Tailwind
colors: {
  custom: {
    50: '#9a925d',
    500: '#6d671b',
    950: '#000000',
  },
}
SCSS
$custom: #6d671b;
$custom-light: #9a925d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d671b",
  "rgb": {
    "r": 109,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 55.61,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50451,
    "c": 0.09466,
    "h": 104.8
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#6D671B
secondary
#4249A2
accent
#50E344
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6D671B

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

Preview Lab → · Contrast checker → · Palette generator →

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