#6B7516#6B7516

#6B7516 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.6% C 0.114 H 115.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6B7516
RGBrgb(107, 117, 22)
HSLhsl(66, 68%, 27%)
HSVhsv(66, 81%, 46%)
CMYKcmyk(8.5%, 0%, 81.2%, 54.1%)
CIE-LABlab(46.85, -16.17, 46.86)
CIE-LCHlch(46.85, 49.57, 109.04°)
OKLaboklab(53.63% -0.0494 0.1024)
OKLCHoklch(53.63% 0.114 115.8)
XYZxyz(12.5699, 15.9065, 3.1670)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7516 #201675
analogous
#755016 #6B7516 #3B7516
triadic
#6B7516 #166B75 #75166B
tetradic
#6B7516 #167550 #201675 #75163B
square
#6B7516 #167550 #201675 #75163B
split-complementary
#6B7516 #163B75 #501675
monochromatic
#181A05 #3C410C #6B7516 #9AA920 #C6D82E

Accessibility & contrast

On white

5.02
#6B7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6B7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7516
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7516#FFFFFF#000000##FFFFFF
##6B75161.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#726E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6b7516;
/* rgb */ color: rgb(107, 117, 22);
/* oklch */ color: oklch(53.6% 0.114 115.8);
Tailwind
colors: {
  custom: {
    50: '#989c5d',
    500: '#6b7516',
    950: '#000000',
  },
}
SCSS
$custom: #6b7516;
$custom-light: #989c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7516",
  "rgb": {
    "r": 107,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 66.316,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.5363,
    "c": 0.11369,
    "h": 115.8
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#6B7516
secondary
#483CAB
accent
#3DEB4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7516

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

Preview Lab → · Contrast checker → · Palette generator →

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