#6D712A#6D712A

#6D712A is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.0% C 0.094 H 112.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6D712A
RGBrgb(109, 113, 42)
HSLhsl(63, 46%, 30%)
HSVhsv(63, 63%, 44%)
CMYKcmyk(3.5%, 0%, 62.8%, 55.7%)
CIE-LABlab(45.95, -11.86, 37.84)
CIE-LCHlch(45.95, 39.65, 107.40°)
OKLaboklab(52.99% -0.0354 0.0868)
OKLCHoklch(52.99% 0.094 112.2)
XYZxyz(12.6300, 15.2289, 4.4642)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D712A #2E2A71
analogous
#71512A #6D712A #49712A
triadic
#6D712A #2A6D71 #712A6D
tetradic
#6D712A #2A7151 #2E2A71 #712A49
square
#6D712A #2A7151 #2E2A71 #712A49
split-complementary
#6D712A #2A4971 #512A71
monochromatic
#171809 #424419 #6D712A #989E3B #BAC055

Accessibility & contrast

On white

5.19
#6D712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6D712A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D712A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D712A#FFFFFF#000000##FFFFFF
##6D712A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C22
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#746A62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6d712a;
/* rgb */ color: rgb(109, 113, 42);
/* oklch */ color: oklch(53.0% 0.094 112.2);
Tailwind
colors: {
  custom: {
    50: '#999967',
    500: '#6d712a',
    950: '#000000',
  },
}
SCSS
$custom: #6d712a;
$custom-light: #999967;
$custom-dark: #000000;
JSON
{
  "hex": "#6d712a",
  "rgb": {
    "r": 109,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 63.38,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.09375,
    "h": 112.2
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#6D712A
secondary
#5854A3
accent
#52D55A
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0D06
muted
#7E7E7A

Preview Lab

Preview with #6D712A

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

Preview Lab → · Contrast checker → · Palette generator →

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