#6B6615#6B6615

#6B6615 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.0% C 0.098 H 105.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6B6615
RGBrgb(107, 102, 21)
HSLhsl(57, 67%, 25%)
HSVhsv(57, 80%, 42%)
CMYKcmyk(0%, 4.7%, 80.4%, 58%)
CIE-LABlab(42.28, -7.92, 43.04)
CIE-LCHlch(42.28, 43.76, 100.42°)
OKLaboklab(49.97% -0.0265 0.0941)
OKLCHoklch(49.97% 0.098 105.8)
XYZxyz(10.9506, 12.6831, 2.5806)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6615 #151A6B
analogous
#6B3B15 #6B6615 #456B15
triadic
#6B6615 #156B66 #66156B
tetradic
#6B6615 #156B3B #151A6B #6B1545
square
#6B6615 #156B3B #151A6B #6B1545
split-complementary
#6B6615 #15456B #3B156B
monochromatic
#1A1805 #38350B #6B6615 #9E971F #D1C829

Accessibility & contrast

On white

5.94
#6B6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6B6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6615
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6615#FFFFFF#000000##FFFFFF
##6B66151.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706203
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#745F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b6615;
/* rgb */ color: rgb(107, 102, 21);
/* oklch */ color: oklch(50.0% 0.098 105.8);
Tailwind
colors: {
  custom: {
    50: '#98915a',
    500: '#6b6615',
    950: '#000000',
  },
}
SCSS
$custom: #6b6615;
$custom-light: #98915a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6615",
  "rgb": {
    "r": 107,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 56.512,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49972,
    "c": 0.09774,
    "h": 105.8
  },
  "luminance": 0.12683
}

Semantic roles & 50–950 ramp

primary
#6B6615
secondary
#3A40A2
accent
#48EA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6615

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

Preview Lab → · Contrast checker → · Palette generator →

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