#6B6515#6B6515

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

Color values

HEX#6B6515
RGBrgb(107, 101, 21)
HSLhsl(56, 67%, 25%)
HSVhsv(56, 80%, 42%)
CMYKcmyk(0%, 5.6%, 80.4%, 58%)
CIE-LABlab(41.98, -7.35, 42.76)
CIE-LCHlch(41.98, 43.39, 99.75°)
OKLaboklab(49.73% -0.0249 0.0935)
OKLCHoklch(49.73% 0.097 104.9)
XYZxyz(10.8529, 12.4877, 2.5480)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6515 #151B6B
analogous
#6B3A15 #6B6515 #466B15
triadic
#6B6515 #156B65 #65156B
tetradic
#6B6515 #156B3A #151B6B #6B1546
square
#6B6515 #156B3A #151B6B #6B1546
split-complementary
#6B6515 #15466B #3A156B
monochromatic
#1A1805 #38350B #6B6515 #9E951F #D1C629

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B6515#FFFFFF#000000##FFFFFF
##6B65151.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)
#6F6103
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#745E56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b6515;
/* rgb */ color: rgb(107, 101, 21);
/* oklch */ color: oklch(49.7% 0.097 104.9);
Tailwind
colors: {
  custom: {
    50: '#98905a',
    500: '#6b6515',
    950: '#000000',
  },
}
SCSS
$custom: #6b6515;
$custom-light: #98905a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6515",
  "rgb": {
    "r": 107,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 55.814,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49732,
    "c": 0.09674,
    "h": 104.9
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#6B6515
secondary
#3A41A2
accent
#4AEA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6515

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

Preview Lab → · Contrast checker → · Palette generator →

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