#6C671B#6C671B

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

Color values

HEX#6C671B
RGBrgb(108, 103, 27)
HSLhsl(56, 60%, 26%)
HSVhsv(56, 75%, 42%)
CMYKcmyk(0%, 4.6%, 75%, 57.6%)
CIE-LABlab(42.72, -7.71, 41.18)
CIE-LCHlch(42.72, 41.89, 100.61°)
OKLaboklab(50.35% -0.0254 0.0913)
OKLCHoklch(50.35% 0.095 105.6)
XYZxyz(11.2329, 12.9682, 2.9481)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C671B #1B206C
analogous
#6C3F1B #6C671B #496C1B
triadic
#6C671B #1B6C67 #671B6C
tetradic
#6C671B #1B6C3F #1B206C #6C1B49
square
#6C671B #1B6C3F #1B206C #6C1B49
split-complementary
#6C671B #1B496C #3F1B6C
monochromatic
#181706 #3B380F #6C671B #9D9627 #CCC335

Accessibility & contrast

On white

5.84
#6C671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6C671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C671B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C671B#FFFFFF#000000##FFFFFF
##6C671B1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630E
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#746058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c671b;
/* rgb */ color: rgb(108, 103, 27);
/* oklch */ color: oklch(50.4% 0.095 105.6);
Tailwind
colors: {
  custom: {
    50: '#99925d',
    500: '#6c671b',
    950: '#000000',
  },
}
SCSS
$custom: #6c671b;
$custom-light: #99925d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c671b",
  "rgb": {
    "r": 108,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 56.296,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50352,
    "c": 0.09477,
    "h": 105.6
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#6C671B
secondary
#4248A1
accent
#4EE345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6C671B

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

Preview Lab → · Contrast checker → · Palette generator →

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