#6C7416#6C7416

#6C7416 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.5% C 0.112 H 114.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6C7416
RGBrgb(108, 116, 22)
HSLhsl(65, 68%, 27%)
HSVhsv(65, 81%, 45%)
CMYKcmyk(6.9%, 0%, 81%, 54.5%)
CIE-LABlab(46.63, -15.17, 46.69)
CIE-LCHlch(46.63, 49.09, 108.00°)
OKLaboklab(53.47% -0.0467 0.102)
OKLCHoklch(53.47% 0.112 114.6)
XYZxyz(12.5749, 15.7371, 3.1340)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7416 #1E1674
analogous
#744D16 #6C7416 #3D7416
triadic
#6C7416 #166C74 #74166C
tetradic
#6C7416 #16744D #1E1674 #74163D
square
#6C7416 #16744D #1E1674 #74163D
split-complementary
#6C7416 #163D74 #4D1674
monochromatic
#181A05 #3C410C #6C7416 #9CA720 #C9D72D

Accessibility & contrast

On white

5.06
#6C7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6C7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7416
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7416#FFFFFF#000000##FFFFFF
##6C74161.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7D6F1F
Tritanopia (blue-blind)
#746D63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6c7416;
/* rgb */ color: rgb(108, 116, 22);
/* oklch */ color: oklch(53.5% 0.112 114.6);
Tailwind
colors: {
  custom: {
    50: '#999b5c',
    500: '#6c7416',
    950: '#000000',
  },
}
SCSS
$custom: #6c7416;
$custom-light: #999b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7416",
  "rgb": {
    "r": 108,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 65.106,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.11217,
    "h": 114.6
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#6C7416
secondary
#453CAA
accent
#3DEB4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6C7416

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

Preview Lab → · Contrast checker → · Palette generator →

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