#6B6517#6B6517

#6B6517 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.7% C 0.096 H 104.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6B6517
RGBrgb(107, 101, 23)
HSLhsl(56, 65%, 25%)
HSVhsv(56, 79%, 42%)
CMYKcmyk(0%, 5.6%, 78.5%, 58%)
CIE-LABlab(41.99, -7.26, 42.03)
CIE-LCHlch(41.99, 42.65, 99.79°)
OKLaboklab(49.75% -0.0245 0.0923)
OKLCHoklch(49.75% 0.096 104.9)
XYZxyz(10.8722, 12.4955, 2.6496)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6517 #171D6B
analogous
#6B3B17 #6B6517 #476B17
triadic
#6B6517 #176B65 #65176B
tetradic
#6B6517 #176B3B #171D6B #6B1747
square
#6B6517 #176B3B #171D6B #6B1747
split-complementary
#6B6517 #17476B #3B176B
monochromatic
#191805 #39350C #6B6517 #9D9522 #D0C42D

Accessibility & contrast

On white

6.00
#6B6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6B6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6517
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6517#FFFFFF#000000##FFFFFF
##6B65171.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6107
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#745E56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b6517;
/* rgb */ color: rgb(107, 101, 23);
/* oklch */ color: oklch(49.7% 0.096 104.9);
Tailwind
colors: {
  custom: {
    50: '#98905b',
    500: '#6b6517',
    950: '#000000',
  },
}
SCSS
$custom: #6b6517;
$custom-light: #98905b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6517",
  "rgb": {
    "r": 107,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 55.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49746,
    "c": 0.09553,
    "h": 104.9
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#6B6517
secondary
#3D44A1
accent
#4CE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6517

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

Preview Lab → · Contrast checker → · Palette generator →

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