#6C712D#6C712D

#6C712D is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.9% C 0.091 H 113.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6C712D
RGBrgb(108, 113, 45)
HSLhsl(64, 43%, 31%)
HSVhsv(64, 60%, 44%)
CMYKcmyk(4.4%, 0%, 60.2%, 55.7%)
CIE-LABlab(45.89, -12.07, 36.29)
CIE-LCHlch(45.89, 38.25, 108.40°)
OKLaboklab(52.94% -0.0356 0.084)
OKLCHoklch(52.94% 0.091 113)
XYZxyz(12.5634, 15.1881, 4.7519)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C712D #322D71
analogous
#71542D #6C712D #4A712D
triadic
#6C712D #2D6C71 #712D6C
tetradic
#6C712D #2D7154 #322D71 #712D4A
square
#6C712D #2D7154 #322D71 #712D4A
split-complementary
#6C712D #2D4A71 #542D71
monochromatic
#18190A #42451C #6C712D #969D3E #B6BE5B

Accessibility & contrast

On white

5.20
#6C712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6C712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C712D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C712D#FFFFFF#000000##FFFFFF
##6C712D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C26
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#736B62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6c712d;
/* rgb */ color: rgb(108, 113, 45);
/* oklch */ color: oklch(52.9% 0.091 113.0);
Tailwind
colors: {
  custom: {
    50: '#989969',
    500: '#6c712d',
    950: '#000000',
  },
}
SCSS
$custom: #6c712d;
$custom-light: #989969;
$custom-dark: #000000;
JSON
{
  "hex": "#6c712d",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 64.412,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52937,
    "c": 0.09119,
    "h": 113
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#6C712D
secondary
#5D57A3
accent
#55D35E
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #6C712D

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

Preview Lab → · Contrast checker → · Palette generator →

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