#6C7310#6C7310

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

Color values

HEX#6C7310
RGBrgb(108, 115, 16)
HSLhsl(64, 76%, 26%)
HSVhsv(64, 86%, 45%)
CMYKcmyk(6.1%, 0%, 86.1%, 54.9%)
CIE-LABlab(46.29, -14.86, 48.19)
CIE-LCHlch(46.29, 50.43, 107.14°)
OKLaboklab(53.19% -0.0463 0.1041)
OKLCHoklch(53.19% 0.114 114)
XYZxyz(12.4090, 15.4873, 2.8258)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7310 #171073
analogous
#734810 #6C7310 #3B7310
triadic
#6C7310 #106C73 #73106C
tetradic
#6C7310 #107348 #171073 #73103B
square
#6C7310 #107348 #171073 #73103B
split-complementary
#6C7310 #103B73 #481073
monochromatic
#191B04 #3A3D09 #6C7310 #9EA917 #D1DE1F

Accessibility & contrast

On white

5.13
#6C7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C7310
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7310#FFFFFF#000000##FFFFFF
##6C73101.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c7310;
/* rgb */ color: rgb(108, 115, 16);
/* oklch */ color: oklch(53.2% 0.114 114.0);
Tailwind
colors: {
  custom: {
    50: '#999b5a',
    500: '#6c7310',
    950: '#000000',
  },
}
SCSS
$custom: #6c7310;
$custom-light: #999b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7310",
  "rgb": {
    "r": 108,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 64.242,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.11392,
    "h": 114
  },
  "luminance": 0.15487
}

Semantic roles & 50–950 ramp

primary
#6C7310
secondary
#3D34AA
accent
#36F243
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7310

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

Preview Lab → · Contrast checker → · Palette generator →

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