#6B6417#6B6417

#6B6417 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.5% C 0.095 H 104.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6B6417
RGBrgb(107, 100, 23)
HSLhsl(55, 65%, 25%)
HSVhsv(55, 79%, 42%)
CMYKcmyk(0%, 6.5%, 78.5%, 58%)
CIE-LABlab(41.69, -6.68, 41.75)
CIE-LCHlch(41.69, 42.28, 99.09°)
OKLaboklab(49.51% -0.0229 0.0917)
OKLCHoklch(49.51% 0.095 104)
XYZxyz(10.7757, 12.3024, 2.6174)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6417 #171E6B
analogous
#6B3A17 #6B6417 #486B17
triadic
#6B6417 #176B64 #64176B
tetradic
#6B6417 #176B3A #171E6B #6B1748
square
#6B6417 #176B3A #171E6B #6B1748
split-complementary
#6B6417 #17486B #3A176B
monochromatic
#191805 #39350C #6B6417 #9D9322 #D0C22D

Accessibility & contrast

On white

6.07
#6B6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6B6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6417
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6417#FFFFFF#000000##FFFFFF
##6B64171.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6008
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#745D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b6417;
/* rgb */ color: rgb(107, 100, 23);
/* oklch */ color: oklch(49.5% 0.095 104.0);
Tailwind
colors: {
  custom: {
    50: '#988f5b',
    500: '#6b6417',
    950: '#000000',
  },
}
SCSS
$custom: #6b6417;
$custom-light: #988f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6417",
  "rgb": {
    "r": 107,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 55,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49507,
    "c": 0.09455,
    "h": 104
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#6B6417
secondary
#3D45A1
accent
#4EE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6417

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

Preview Lab → · Contrast checker → · Palette generator →

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