#6C7311#6C7311

#6C7311 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#6C7311
RGBrgb(108, 115, 17)
HSLhsl(64, 74%, 26%)
HSVhsv(64, 85%, 45%)
CMYKcmyk(6.1%, 0%, 85.2%, 54.9%)
CIE-LABlab(46.30, -14.82, 47.92)
CIE-LCHlch(46.30, 50.16, 107.19°)
OKLaboklab(53.2% -0.0461 0.1037)
OKLCHoklch(53.2% 0.113 114)
XYZxyz(12.4167, 15.4903, 2.8661)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7311 #181173
analogous
#734911 #6C7311 #3B7311
triadic
#6C7311 #116C73 #73116C
tetradic
#6C7311 #117349 #181173 #73113B
square
#6C7311 #117349 #181173 #73113B
split-complementary
#6C7311 #113B73 #491173
monochromatic
#191B04 #3A3E09 #6C7311 #9EA819 #D0DE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C7311#FFFFFF#000000##FFFFFF
##6C73111.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)
#7C6F1B
Tritanopia (blue-blind)
#746C62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c7311;
/* rgb */ color: rgb(108, 115, 17);
/* oklch */ color: oklch(53.2% 0.113 114.0);
Tailwind
colors: {
  custom: {
    50: '#999b5a',
    500: '#6c7311',
    950: '#000000',
  },
}
SCSS
$custom: #6c7311;
$custom-light: #999b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7311",
  "rgb": {
    "r": 108,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 64.286,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.11348,
    "h": 114
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#6C7311
secondary
#3E36AA
accent
#37F144
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7311

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

Preview Lab → · Contrast checker → · Palette generator →

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