#6C712B#6C712B

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

Color values

HEX#6C712B
RGBrgb(108, 113, 43)
HSLhsl(64, 45%, 31%)
HSVhsv(64, 62%, 44%)
CMYKcmyk(4.4%, 0%, 61.9%, 55.7%)
CIE-LABlab(45.87, -12.24, 37.25)
CIE-LCHlch(45.87, 39.21, 108.19°)
OKLaboklab(52.91% -0.0363 0.0857)
OKLCHoklch(52.91% 0.093 113)
XYZxyz(12.5258, 15.1731, 4.5539)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C712B #302B71
analogous
#71532B #6C712B #49712B
triadic
#6C712B #2B6C71 #712B6C
tetradic
#6C712B #2B7153 #302B71 #712B49
square
#6C712B #2B7153 #302B71 #712B49
split-complementary
#6C712B #2B4971 #532B71
monochromatic
#171809 #42451A #6C712B #969D3C #B8BF57

Accessibility & contrast

On white

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

On black

4.03
#6C712B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6C712B#FFFFFF#000000##FFFFFF
##6C712B1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C23
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#736A62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6c712b;
/* rgb */ color: rgb(108, 113, 43);
/* oklch */ color: oklch(52.9% 0.093 113.0);
Tailwind
colors: {
  custom: {
    50: '#989967',
    500: '#6c712b',
    950: '#000000',
  },
}
SCSS
$custom: #6c712b;
$custom-light: #989967;
$custom-dark: #000000;
JSON
{
  "hex": "#6c712b",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 64.286,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52914,
    "c": 0.0931,
    "h": 113
  },
  "luminance": 0.15173
}

Semantic roles & 50–950 ramp

primary
#6C712B
secondary
#5B55A3
accent
#53D55C
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E06
muted
#7E7E7A

Preview Lab

Preview with #6C712B

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

Preview Lab → · Contrast checker → · Palette generator →

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