#6B671D#6B671D

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

Color values

HEX#6B671D
RGBrgb(107, 103, 29)
HSLhsl(57, 57%, 27%)
HSVhsv(57, 73%, 42%)
CMYKcmyk(0%, 3.7%, 72.9%, 58%)
CIE-LABlab(42.64, -8.08, 40.23)
CIE-LCHlch(42.64, 41.04, 101.35°)
OKLaboklab(50.27% -0.0261 0.0897)
OKLCHoklch(50.27% 0.093 106.2)
XYZxyz(11.1359, 12.9154, 3.0685)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B671D #1D216B
analogous
#6B401D #6B671D #486B1D
triadic
#6B671D #1D6B67 #671D6B
tetradic
#6B671D #1D6B40 #1D216B #6B1D48
square
#6B671D #1D6B40 #1D216B #6B1D48
split-complementary
#6B671D #1D486B #401D6B
monochromatic
#181707 #3B3910 #6B671D #9B952A #C9C239

Accessibility & contrast

On white

5.86
#6B671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6B671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B671D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B671D#FFFFFF#000000##FFFFFF
##6B671D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706312
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#736058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b671d;
/* rgb */ color: rgb(107, 103, 29);
/* oklch */ color: oklch(50.3% 0.093 106.2);
Tailwind
colors: {
  custom: {
    50: '#98925e',
    500: '#6b671d',
    950: '#000000',
  },
}
SCSS
$custom: #6b671d;
$custom-light: #98925e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b671d",
  "rgb": {
    "r": 107,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 56.923,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5027,
    "c": 0.09346,
    "h": 106.2
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#6B671D
secondary
#4449A0
accent
#4FE147
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6B671D

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

Preview Lab → · Contrast checker → · Palette generator →

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