#6C7517#6C7517

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

Color values

HEX#6C7517
RGBrgb(108, 117, 23)
HSLhsl(66, 67%, 27%)
HSVhsv(66, 80%, 46%)
CMYKcmyk(7.7%, 0%, 80.3%, 54.1%)
CIE-LABlab(46.94, -15.66, 46.64)
CIE-LCHlch(46.94, 49.20, 108.57°)
OKLaboklab(53.72% -0.048 0.1021)
OKLCHoklch(53.72% 0.113 115.2)
XYZxyz(12.7007, 15.9728, 3.2245)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7517 #201775
analogous
#754F17 #6C7517 #3D7517
triadic
#6C7517 #176C75 #75176C
tetradic
#6C7517 #17754F #201775 #75173D
square
#6C7517 #17754F #201775 #75173D
split-complementary
#6C7517 #173D75 #4F1775
monochromatic
#181A05 #3D420D #6C7517 #9BA821 #C6D630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C7517#FFFFFF#000000##FFFFFF
##6C75171.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)
#7D7020
Tritanopia (blue-blind)
#746E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c7517;
/* rgb */ color: rgb(108, 117, 23);
/* oklch */ color: oklch(53.7% 0.113 115.2);
Tailwind
colors: {
  custom: {
    50: '#999c5d',
    500: '#6c7517',
    950: '#000000',
  },
}
SCSS
$custom: #6c7517;
$custom-light: #999c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7517",
  "rgb": {
    "r": 108,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 65.745,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53722,
    "c": 0.11279,
    "h": 115.2
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#6C7517
secondary
#483DAA
accent
#3EEA4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7517

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

Preview Lab → · Contrast checker → · Palette generator →

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