#6A6616#6A6616

#6A6616 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.9% C 0.097 H 106.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6A6616
RGBrgb(106, 102, 22)
HSLhsl(57, 66%, 25%)
HSVhsv(57, 79%, 42%)
CMYKcmyk(0%, 3.8%, 79.2%, 58.4%)
CIE-LABlab(42.19, -8.35, 42.56)
CIE-LCHlch(42.19, 43.37, 101.10°)
OKLaboklab(49.88% -0.0276 0.0933)
OKLCHoklch(49.88% 0.097 106.5)
XYZxyz(10.8405, 12.6252, 2.6248)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6616 #161A6A
analogous
#6A3C16 #6A6616 #446A16
triadic
#6A6616 #166A66 #66166A
tetradic
#6A6616 #166A3C #161A6A #6A1644
square
#6A6616 #166A3C #161A6A #6A1644
split-complementary
#6A6616 #16446A #3C166A
monochromatic
#191805 #37350B #6A6616 #9D9721 #CFC82B

Accessibility & contrast

On white

5.96
#6A6616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6A6616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6616
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6616#FFFFFF#000000##FFFFFF
##6A66161.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6205
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#725F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a6616;
/* rgb */ color: rgb(106, 102, 22);
/* oklch */ color: oklch(49.9% 0.097 106.5);
Tailwind
colors: {
  custom: {
    50: '#98915a',
    500: '#6a6616',
    950: '#000000',
  },
}
SCSS
$custom: #6a6616;
$custom-light: #98915a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6616",
  "rgb": {
    "r": 106,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 57.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.09729,
    "h": 106.5
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#6A6616
secondary
#3B40A0
accent
#47E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6616

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

Preview Lab → · Contrast checker → · Palette generator →

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