#6B6819#6B6819

#6B6819 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.5% C 0.097 H 107.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6B6819
RGBrgb(107, 104, 25)
HSLhsl(58, 62%, 26%)
HSVhsv(58, 77%, 42%)
CMYKcmyk(0%, 2.8%, 76.6%, 58%)
CIE-LABlab(42.91, -8.86, 42.13)
CIE-LCHlch(42.91, 43.05, 101.88°)
OKLaboklab(50.48% -0.0288 0.093)
OKLCHoklch(50.48% 0.097 107.2)
XYZxyz(11.1896, 13.0970, 2.8581)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6819 #191C6B
analogous
#6B3F19 #6B6819 #456B19
triadic
#6B6819 #196B68 #68196B
tetradic
#6B6819 #196B3F #191C6B #6B1945
square
#6B6819 #196B3F #191C6B #6B1945
split-complementary
#6B6819 #19456B #3F196B
monochromatic
#191806 #39380D #6B6819 #9D9825 #CEC830

Accessibility & contrast

On white

5.80
#6B6819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6B6819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6819
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6819#FFFFFF#000000##FFFFFF
##6B68191.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640A
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#736159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b6819;
/* rgb */ color: rgb(107, 104, 25);
/* oklch */ color: oklch(50.5% 0.097 107.2);
Tailwind
colors: {
  custom: {
    50: '#98925c',
    500: '#6b6819',
    950: '#000000',
  },
}
SCSS
$custom: #6b6819;
$custom-light: #98925c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6819",
  "rgb": {
    "r": 107,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 57.805,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50479,
    "c": 0.09731,
    "h": 107.2
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#6B6819
secondary
#3F43A1
accent
#49E543
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6B6819

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

Preview Lab → · Contrast checker → · Palette generator →

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