#6A6516#6A6516

#6A6516 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.6% C 0.096 H 105.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#6A6516
RGBrgb(106, 101, 22)
HSLhsl(56, 66%, 25%)
HSVhsv(56, 79%, 42%)
CMYKcmyk(0%, 4.7%, 79.2%, 58.4%)
CIE-LABlab(41.89, -7.78, 42.28)
CIE-LCHlch(41.89, 42.99, 100.43°)
OKLaboklab(49.64% -0.026 0.0927)
OKLCHoklch(49.64% 0.096 105.7)
XYZxyz(10.7428, 12.4299, 2.5922)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6516 #161B6A
analogous
#6A3B16 #6A6516 #456A16
triadic
#6A6516 #166A65 #65166A
tetradic
#6A6516 #166A3B #161B6A #6A1645
square
#6A6516 #166A3B #161B6A #6A1645
split-complementary
#6A6516 #16456A #3B166A
monochromatic
#191805 #37350B #6A6516 #9D9521 #CFC62B

Accessibility & contrast

On white

6.02
#6A6516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6A6516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6516
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6516#FFFFFF#000000##FFFFFF
##6A65161.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6105
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#725E56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a6516;
/* rgb */ color: rgb(106, 101, 22);
/* oklch */ color: oklch(49.6% 0.096 105.7);
Tailwind
colors: {
  custom: {
    50: '#98905a',
    500: '#6a6516',
    950: '#000000',
  },
}
SCSS
$custom: #6a6516;
$custom-light: #98905a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6516",
  "rgb": {
    "r": 106,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 56.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4964,
    "c": 0.09628,
    "h": 105.7
  },
  "luminance": 0.12429
}

Semantic roles & 50–950 ramp

primary
#6A6516
secondary
#3B41A0
accent
#49E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6516

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

Preview Lab → · Contrast checker → · Palette generator →

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