#6B6B16#6B6B16

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

Color values

HEX#6B6B16
RGBrgb(107, 107, 22)
HSLhsl(60, 66%, 25%)
HSVhsv(60, 79%, 42%)
CMYKcmyk(0%, 0%, 79.4%, 58%)
CIE-LABlab(43.80, -10.70, 44.07)
CIE-LCHlch(43.80, 45.35, 103.64°)
OKLaboklab(51.18% -0.0342 0.0965)
OKLCHoklch(51.18% 0.102 109.5)
XYZxyz(11.4663, 13.6995, 2.7992)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6B16 #16166B
analogous
#6B4016 #6B6B16 #406B16
triadic
#6B6B16 #166B6B #6B166B
tetradic
#6B6B16 #166B40 #16166B #6B1640
square
#6B6B16 #166B40 #16166B #6B1640
split-complementary
#6B6B16 #16406B #40166B
monochromatic
#191905 #38380C #6B6B16 #9E9E20 #D1D12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B6B16#FFFFFF#000000##FFFFFF
##6B6B161.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)
#746603
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#73645B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b6b16;
/* rgb */ color: rgb(107, 107, 22);
/* oklch */ color: oklch(51.2% 0.102 109.5);
Tailwind
colors: {
  custom: {
    50: '#98955b',
    500: '#6b6b16',
    950: '#000000',
  },
}
SCSS
$custom: #6b6b16;
$custom-light: #98955b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6b16",
  "rgb": {
    "r": 107,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.10237,
    "h": 109.5
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#6B6B16
secondary
#3B3BA1
accent
#3FE93F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B6B16

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

Preview Lab → · Contrast checker → · Palette generator →

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