#6C7312#6C7312

#6C7312 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.2% C 0.113 H 114.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6C7312
RGBrgb(108, 115, 18)
HSLhsl(64, 73%, 26%)
HSVhsv(64, 84%, 45%)
CMYKcmyk(6.1%, 0%, 84.3%, 54.9%)
CIE-LABlab(46.30, -14.79, 47.63)
CIE-LCHlch(46.30, 49.88, 107.25°)
OKLaboklab(53.2% -0.046 0.1033)
OKLCHoklch(53.2% 0.113 114)
XYZxyz(12.4247, 15.4935, 2.9082)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7312 #191273
analogous
#734912 #6C7312 #3B7312
triadic
#6C7312 #126C73 #73126C
tetradic
#6C7312 #127349 #191273 #73123B
square
#6C7312 #127349 #191273 #73123B
split-complementary
#6C7312 #123B73 #491273
monochromatic
#191A04 #3A3E0A #6C7312 #9EA81A #CFDD23

Accessibility & contrast

On white

5.12
#6C7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6C7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7312
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7312#FFFFFF#000000##FFFFFF
##6C73121.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#746C62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c7312;
/* rgb */ color: rgb(108, 115, 18);
/* oklch */ color: oklch(53.2% 0.113 114.0);
Tailwind
colors: {
  custom: {
    50: '#999b5b',
    500: '#6c7312',
    950: '#000000',
  },
}
SCSS
$custom: #6c7312;
$custom-light: #999b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7312",
  "rgb": {
    "r": 108,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 64.33,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.53204,
    "c": 0.11303,
    "h": 114
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#6C7312
secondary
#3F37AA
accent
#38F045
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7312

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

Preview Lab → · Contrast checker → · Palette generator →

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