#6C7512#6C7512

#6C7512 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 53.7% C 0.115 H 115.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6C7512
RGBrgb(108, 117, 18)
HSLhsl(65, 73%, 26%)
HSVhsv(65, 85%, 46%)
CMYKcmyk(7.7%, 0%, 84.6%, 54.1%)
CIE-LABlab(46.91, -15.87, 48.17)
CIE-LCHlch(46.91, 50.71, 108.23°)
OKLaboklab(53.7% -0.0489 0.1044)
OKLCHoklch(53.7% 0.115 115.1)
XYZxyz(12.6552, 15.9546, 2.9850)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7512 #1B1275
analogous
#754D12 #6C7512 #3B7512
triadic
#6C7512 #126C75 #75126C
tetradic
#6C7512 #12754D #1B1275 #75123B
square
#6C7512 #12754D #1B1275 #75123B
split-complementary
#6C7512 #123B75 #4D1275
monochromatic
#181B04 #3B400A #6C7512 #9DAA1A #CCDD24

Accessibility & contrast

On white

5.01
#6C7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6C7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7512
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7512#FFFFFF#000000##FFFFFF
##6C75121.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7D701C
Tritanopia (blue-blind)
#746E63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c7512;
/* rgb */ color: rgb(108, 117, 18);
/* oklch */ color: oklch(53.7% 0.115 115.1);
Tailwind
colors: {
  custom: {
    50: '#999c5b',
    500: '#6c7512',
    950: '#000000',
  },
}
SCSS
$custom: #6c7512;
$custom-light: #999c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7512",
  "rgb": {
    "r": 108,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 65.455,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.1153,
    "h": 115.1
  },
  "luminance": 0.15954
}

Semantic roles & 50–950 ramp

primary
#6C7512
secondary
#4237AC
accent
#38F049
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7512

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

Preview Lab → · Contrast checker → · Palette generator →

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