#6A6416#6A6416

#6A6416 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.4% C 0.095 H 104.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6A6416
RGBrgb(106, 100, 22)
HSLhsl(56, 66%, 25%)
HSVhsv(56, 79%, 42%)
CMYKcmyk(0%, 5.7%, 79.2%, 58.4%)
CIE-LABlab(41.59, -7.21, 42.00)
CIE-LCHlch(41.59, 42.61, 99.74°)
OKLaboklab(49.4% -0.0244 0.0921)
OKLCHoklch(49.4% 0.095 104.8)
XYZxyz(10.6463, 12.2369, 2.5601)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6416 #161C6A
analogous
#6A3A16 #6A6416 #466A16
triadic
#6A6416 #166A64 #64166A
tetradic
#6A6416 #166A3A #161C6A #6A1646
square
#6A6416 #166A3A #161C6A #6A1646
split-complementary
#6A6416 #16466A #3A166A
monochromatic
#191805 #37340B #6A6416 #9D9421 #CFC42B

Accessibility & contrast

On white

6.09
#6A6416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6A6416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6416
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6416#FFFFFF#000000##FFFFFF
##6A64161.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6006
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#725D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a6416;
/* rgb */ color: rgb(106, 100, 22);
/* oklch */ color: oklch(49.4% 0.095 104.8);
Tailwind
colors: {
  custom: {
    50: '#988f5a',
    500: '#6a6416',
    950: '#000000',
  },
}
SCSS
$custom: #6a6416;
$custom-light: #988f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6416",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 55.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.494,
    "c": 0.09528,
    "h": 104.8
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#6A6416
secondary
#3B43A0
accent
#4BE93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6416

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

Preview Lab → · Contrast checker → · Palette generator →

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