#6B671B#6B671B

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

Color values

HEX#6B671B
RGBrgb(107, 103, 27)
HSLhsl(57, 60%, 26%)
HSVhsv(57, 75%, 42%)
CMYKcmyk(0%, 3.7%, 74.8%, 58%)
CIE-LABlab(42.62, -8.19, 41.05)
CIE-LCHlch(42.62, 41.86, 101.28°)
OKLaboklab(50.25% -0.0267 0.0911)
OKLCHoklch(50.25% 0.095 106.3)
XYZxyz(11.1119, 12.9058, 2.9424)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B671B #1B1F6B
analogous
#6B3F1B #6B671B #476B1B
triadic
#6B671B #1B6B67 #671B6B
tetradic
#6B671B #1B6B3F #1B1F6B #6B1B47
square
#6B671B #1B6B3F #1B1F6B #6B1B47
split-complementary
#6B671B #1B476B #3F1B6B
monochromatic
#181806 #3A380F #6B671B #9C9627 #CCC435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B671B#FFFFFF#000000##FFFFFF
##6B671B1.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)
#70630E
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#736058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b671b;
/* rgb */ color: rgb(107, 103, 27);
/* oklch */ color: oklch(50.3% 0.095 106.3);
Tailwind
colors: {
  custom: {
    50: '#98925d',
    500: '#6b671b',
    950: '#000000',
  },
}
SCSS
$custom: #6b671b;
$custom-light: #98925d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b671b",
  "rgb": {
    "r": 107,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 57,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50254,
    "c": 0.09491,
    "h": 106.3
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#6B671B
secondary
#4246A0
accent
#4DE345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B671B

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

Preview Lab → · Contrast checker → · Palette generator →

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