#6B6617#6B6617

#6B6617 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.0% C 0.097 H 105.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6B6617
RGBrgb(107, 102, 23)
HSLhsl(56, 65%, 25%)
HSVhsv(56, 79%, 42%)
CMYKcmyk(0%, 4.7%, 78.5%, 58%)
CIE-LABlab(42.29, -7.83, 42.31)
CIE-LCHlch(42.29, 43.03, 100.48°)
OKLaboklab(49.99% -0.0261 0.0929)
OKLCHoklch(49.99% 0.097 105.7)
XYZxyz(10.9699, 12.6908, 2.6822)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6617 #171C6B
analogous
#6B3C17 #6B6617 #466B17
triadic
#6B6617 #176B66 #66176B
tetradic
#6B6617 #176B3C #171C6B #6B1746
square
#6B6617 #176B3C #171C6B #6B1746
split-complementary
#6B6617 #17466B #3C176B
monochromatic
#191805 #39360C #6B6617 #9D9622 #D0C62D

Accessibility & contrast

On white

5.94
#6B6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6B6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6617
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6617#FFFFFF#000000##FFFFFF
##6B66171.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6207
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#735F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b6617;
/* rgb */ color: rgb(107, 102, 23);
/* oklch */ color: oklch(50.0% 0.097 105.7);
Tailwind
colors: {
  custom: {
    50: '#98915b',
    500: '#6b6617',
    950: '#000000',
  },
}
SCSS
$custom: #6b6617;
$custom-light: #98915b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6617",
  "rgb": {
    "r": 107,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 56.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.09654,
    "h": 105.7
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#6B6617
secondary
#3D43A1
accent
#4AE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6617

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

Preview Lab → · Contrast checker → · Palette generator →

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