#6B6B15#6B6B15

#6B6B15 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.2% C 0.103 H 109.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6B6B15
RGBrgb(107, 107, 21)
HSLhsl(60, 67%, 25%)
HSVhsv(60, 80%, 42%)
CMYKcmyk(0%, 0%, 80.4%, 58%)
CIE-LABlab(43.79, -10.74, 44.42)
CIE-LCHlch(43.79, 45.70, 103.59°)
OKLaboklab(51.18% -0.0344 0.097)
OKLCHoklch(51.18% 0.103 109.5)
XYZxyz(11.4569, 13.6957, 2.7493)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6B15 #15156B
analogous
#6B4015 #6B6B15 #406B15
triadic
#6B6B15 #156B6B #6B156B
tetradic
#6B6B15 #156B40 #15156B #6B1540
square
#6B6B15 #156B40 #15156B #6B1540
split-complementary
#6B6B15 #15406B #40156B
monochromatic
#1A1A05 #38380B #6B6B15 #9E9E1F #D1D129

Accessibility & contrast

On white

5.62
#6B6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6B6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6B15
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6B15#FFFFFF#000000##FFFFFF
##6B6B151.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746601
Deuteranopia (green-blind)
#75691C
Tritanopia (blue-blind)
#73645B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b6b15;
/* rgb */ color: rgb(107, 107, 21);
/* oklch */ color: oklch(51.2% 0.103 109.5);
Tailwind
colors: {
  custom: {
    50: '#98955b',
    500: '#6b6b15',
    950: '#000000',
  },
}
SCSS
$custom: #6b6b15;
$custom-light: #98955b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6b15",
  "rgb": {
    "r": 107,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.10293,
    "h": 109.5
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#6B6B15
secondary
#3A3AA2
accent
#3EEA3E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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