#6B6718#6B6718

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

Color values

HEX#6B6718
RGBrgb(107, 103, 24)
HSLhsl(57, 63%, 26%)
HSVhsv(57, 78%, 42%)
CMYKcmyk(0%, 3.7%, 77.6%, 58%)
CIE-LABlab(42.60, -8.35, 42.22)
CIE-LCHlch(42.60, 43.04, 101.18°)
OKLaboklab(50.23% -0.0274 0.093)
OKLCHoklch(50.23% 0.097 106.5)
XYZxyz(11.0790, 12.8926, 2.7689)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6718 #181C6B
analogous
#6B3D18 #6B6718 #456B18
triadic
#6B6718 #186B67 #67186B
tetradic
#6B6718 #186B3D #181C6B #6B1845
square
#6B6718 #186B3D #181C6B #6B1845
split-complementary
#6B6718 #18456B #3D186B
monochromatic
#191806 #39370D #6B6718 #9D9723 #CFC72E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B6718#FFFFFF#000000##FFFFFF
##6B67181.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)
#706308
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#736058
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b6718;
/* rgb */ color: rgb(107, 103, 24);
/* oklch */ color: oklch(50.2% 0.097 106.5);
Tailwind
colors: {
  custom: {
    50: '#98925c',
    500: '#6b6718',
    950: '#000000',
  },
}
SCSS
$custom: #6b6718;
$custom-light: #98925c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6718",
  "rgb": {
    "r": 107,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 57.108,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50232,
    "c": 0.09692,
    "h": 106.5
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#6B6718
secondary
#3E43A1
accent
#49E641
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6718

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

Preview Lab → · Contrast checker → · Palette generator →

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