#6B6717#6B6717

#6B6717 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.098 H 106.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6B6717
RGBrgb(107, 103, 23)
HSLhsl(57, 65%, 25%)
HSVhsv(57, 79%, 42%)
CMYKcmyk(0%, 3.7%, 78.5%, 58%)
CIE-LABlab(42.59, -8.40, 42.60)
CIE-LCHlch(42.59, 43.41, 101.15°)
OKLaboklab(50.22% -0.0277 0.0935)
OKLCHoklch(50.22% 0.098 106.5)
XYZxyz(11.0688, 12.8886, 2.7151)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6717 #171B6B
analogous
#6B3D17 #6B6717 #456B17
triadic
#6B6717 #176B67 #67176B
tetradic
#6B6717 #176B3D #171B6B #6B1745
square
#6B6717 #176B3D #171B6B #6B1745
split-complementary
#6B6717 #17456B #3D176B
monochromatic
#191805 #39370C #6B6717 #9D9722 #D0C82D

Accessibility & contrast

On white

5.87
#6B6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6B6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6717
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6717#FFFFFF#000000##FFFFFF
##6B67171.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706306
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#736058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b6717;
/* rgb */ color: rgb(107, 103, 23);
/* oklch */ color: oklch(50.2% 0.098 106.5);
Tailwind
colors: {
  custom: {
    50: '#98925b',
    500: '#6b6717',
    950: '#000000',
  },
}
SCSS
$custom: #6b6717;
$custom-light: #98925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6717",
  "rgb": {
    "r": 107,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 57.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50225,
    "c": 0.09755,
    "h": 106.5
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#6B6717
secondary
#3D42A1
accent
#48E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6717

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

Preview Lab → · Contrast checker → · Palette generator →

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