#6C671E#6C671E

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

Color values

HEX#6C671E
RGBrgb(108, 103, 30)
HSLhsl(56, 57%, 27%)
HSVhsv(56, 72%, 42%)
CMYKcmyk(0%, 4.6%, 72.2%, 57.6%)
CIE-LABlab(42.74, -7.54, 39.94)
CIE-LCHlch(42.74, 40.64, 100.70°)
OKLaboklab(50.38% -0.0246 0.0893)
OKLCHoklch(50.38% 0.093 105.4)
XYZxyz(11.2694, 12.9828, 3.1404)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C671E #1E236C
analogous
#6C401E #6C671E #4A6C1E
triadic
#6C671E #1E6C67 #671E6C
tetradic
#6C671E #1E6C40 #1E236C #6C1E4A
square
#6C671E #1E6C40 #1E236C #6C1E4A
split-complementary
#6C671E #1E4A6C #401E6C
monochromatic
#181707 #3C3911 #6C671E #9C952B #C9C03C

Accessibility & contrast

On white

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

On black

3.60
#6C671E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6C671E#FFFFFF#000000##FFFFFF
##6C671E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706313
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#746058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c671e;
/* rgb */ color: rgb(108, 103, 30);
/* oklch */ color: oklch(50.4% 0.093 105.4);
Tailwind
colors: {
  custom: {
    50: '#99925f',
    500: '#6c671e',
    950: '#000000',
  },
}
SCSS
$custom: #6c671e;
$custom-light: #99925f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c671e",
  "rgb": {
    "r": 108,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 56.154,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.09259,
    "h": 105.4
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#6C671E
secondary
#454BA0
accent
#52E048
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6C671E

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

Preview Lab → · Contrast checker → · Palette generator →

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