#6B7616#6B7616

#6B7616 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 53.9% C 0.115 H 116.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6B7616
RGBrgb(107, 118, 22)
HSLhsl(67, 69%, 27%)
HSVhsv(67, 81%, 46%)
CMYKcmyk(9.3%, 0%, 81.4%, 53.7%)
CIE-LABlab(47.16, -16.70, 47.14)
CIE-LCHlch(47.16, 50.01, 109.51°)
OKLaboklab(53.88% -0.0509 0.103)
OKLCHoklch(53.88% 0.115 116.3)
XYZxyz(12.6870, 16.1408, 3.2060)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7616 #211676
analogous
#765116 #6B7616 #3B7616
triadic
#6B7616 #166B76 #76166B
tetradic
#6B7616 #167651 #211676 #76163B
square
#6B7616 #167651 #211676 #76163B
split-complementary
#6B7616 #163B76 #511676
monochromatic
#171A05 #3C420C #6B7616 #9AAA20 #C5D82E

Accessibility & contrast

On white

4.97
#6B7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6B7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7616
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7616#FFFFFF#000000##FFFFFF
##6B76161.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#7E701F
Tritanopia (blue-blind)
#726F64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6b7616;
/* rgb */ color: rgb(107, 118, 22);
/* oklch */ color: oklch(53.9% 0.115 116.3);
Tailwind
colors: {
  custom: {
    50: '#989d5d',
    500: '#6b7616',
    950: '#000000',
  },
}
SCSS
$custom: #6b7616;
$custom-light: #989d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7616",
  "rgb": {
    "r": 107,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 66.875,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.11487,
    "h": 116.3
  },
  "luminance": 0.16141
}

Semantic roles & 50–950 ramp

primary
#6B7616
secondary
#493CAC
accent
#3CEB50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7616

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

Preview Lab → · Contrast checker → · Palette generator →

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