#6C7412#6C7412

#6C7412 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.4% C 0.114 H 114.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6C7412
RGBrgb(108, 116, 18)
HSLhsl(65, 73%, 26%)
HSVhsv(65, 84%, 45%)
CMYKcmyk(6.9%, 0%, 84.5%, 54.5%)
CIE-LABlab(46.61, -15.33, 47.90)
CIE-LCHlch(46.61, 50.29, 107.75°)
OKLaboklab(53.45% -0.0475 0.1038)
OKLCHoklch(53.45% 0.114 114.6)
XYZxyz(12.5393, 15.7228, 2.9464)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7412 #1A1274
analogous
#744B12 #6C7412 #3B7412
triadic
#6C7412 #126C74 #74126C
tetradic
#6C7412 #12744B #1A1274 #74123B
square
#6C7412 #12744B #1A1274 #74123B
split-complementary
#6C7412 #123B74 #4B1274
monochromatic
#191A04 #3B3F0A #6C7412 #9DA91A #CEDD23

Accessibility & contrast

On white

5.07
#6C7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6C7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7412
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7412#FFFFFF#000000##FFFFFF
##6C74121.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7D6F1C
Tritanopia (blue-blind)
#746D62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c7412;
/* rgb */ color: rgb(108, 116, 18);
/* oklch */ color: oklch(53.4% 0.114 114.6);
Tailwind
colors: {
  custom: {
    50: '#999b5b',
    500: '#6c7412',
    950: '#000000',
  },
}
SCSS
$custom: #6c7412;
$custom-light: #999b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7412",
  "rgb": {
    "r": 108,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 64.898,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.11416,
    "h": 114.6
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#6C7412
secondary
#4137AB
accent
#38F047
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7412

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

Preview Lab → · Contrast checker → · Palette generator →

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