#6C7816#6C7816

#6C7816 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.5% C 0.117 H 116.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6C7816
RGBrgb(108, 120, 22)
HSLhsl(67, 69%, 28%)
HSVhsv(67, 82%, 47%)
CMYKcmyk(10%, 0%, 81.7%, 52.9%)
CIE-LABlab(47.85, -17.31, 47.79)
CIE-LCHlch(47.85, 50.83, 109.91°)
OKLaboklab(54.46% -0.0526 0.1044)
OKLCHoklch(54.46% 0.117 116.8)
XYZxyz(13.0460, 16.6792, 3.2911)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7816 #221678
analogous
#785316 #6C7816 #3B7816
triadic
#6C7816 #166C78 #78166C
tetradic
#6C7816 #167853 #221678 #78163B
square
#6C7816 #167853 #221678 #78163B
split-complementary
#6C7816 #163B78 #531678
monochromatic
#171A05 #3D440D #6C7816 #9BAC1F #C4D92F

Accessibility & contrast

On white

4.84
#6C7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6C7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C7816
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7816#FFFFFF#000000##FFFFFF
##6C78161.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#737166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c7816;
/* rgb */ color: rgb(108, 120, 22);
/* oklch */ color: oklch(54.5% 0.117 116.8);
Tailwind
colors: {
  custom: {
    50: '#999e5d',
    500: '#6c7816',
    950: '#000000',
  },
}
SCSS
$custom: #6c7816;
$custom-light: #999e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7816",
  "rgb": {
    "r": 108,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 67.347,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54455,
    "c": 0.11686,
    "h": 116.8
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#6C7816
secondary
#4A3CAD
accent
#3CEC51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C7816

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

Preview Lab → · Contrast checker → · Palette generator →

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