#6C7016#6C7016

#6C7016 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.5% C 0.108 H 112.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6C7016
RGBrgb(108, 112, 22)
HSLhsl(63, 67%, 26%)
HSVhsv(63, 80%, 44%)
CMYKcmyk(3.6%, 0%, 80.4%, 56.1%)
CIE-LABlab(45.41, -12.99, 45.58)
CIE-LCHlch(45.41, 47.39, 105.91°)
OKLaboklab(52.49% -0.0407 0.0996)
OKLCHoklch(52.49% 0.108 112.2)
XYZxyz(12.1237, 14.8347, 2.9836)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7016 #1A1670
analogous
#704716 #6C7016 #3F7016
triadic
#6C7016 #166C70 #70166C
tetradic
#6C7016 #167047 #1A1670 #70163F
square
#6C7016 #167047 #1A1670 #70163F
split-complementary
#6C7016 #163F70 #471670
monochromatic
#191A05 #3B3D0C #6C7016 #9DA320 #CED52B

Accessibility & contrast

On white

5.29
#6C7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6C7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7016
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7016#FFFFFF#000000##FFFFFF
##6C70161.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#74695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6c7016;
/* rgb */ color: rgb(108, 112, 22);
/* oklch */ color: oklch(52.5% 0.108 112.2);
Tailwind
colors: {
  custom: {
    50: '#99985c',
    500: '#6c7016',
    950: '#000000',
  },
}
SCSS
$custom: #6c7016;
$custom-light: #99985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7016",
  "rgb": {
    "r": 108,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 62.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52492,
    "c": 0.10761,
    "h": 112.2
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#6C7016
secondary
#413CA6
accent
#3EEA45
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6C7016

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

Preview Lab → · Contrast checker → · Palette generator →

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