#6A6316#6A6316

#6A6316 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.2% C 0.094 H 104.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6A6316
RGBrgb(106, 99, 22)
HSLhsl(55, 66%, 25%)
HSVhsv(55, 79%, 42%)
CMYKcmyk(0%, 6.6%, 79.2%, 58.4%)
CIE-LABlab(41.29, -6.64, 41.72)
CIE-LCHlch(41.29, 42.24, 99.04°)
OKLaboklab(49.16% -0.0228 0.0915)
OKLCHoklch(49.16% 0.094 104)
XYZxyz(10.5510, 12.0462, 2.5283)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6316 #161D6A
analogous
#6A3916 #6A6316 #476A16
triadic
#6A6316 #166A63 #63166A
tetradic
#6A6316 #166A39 #161D6A #6A1647
square
#6A6316 #166A39 #161D6A #6A1647
split-complementary
#6A6316 #16476A #39166A
monochromatic
#191805 #37340B #6A6316 #9D9221 #CFC22B

Accessibility & contrast

On white

6.16
#6A6316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6A6316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6316
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6316#FFFFFF#000000##FFFFFF
##6A63161.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F06
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#735C54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a6316;
/* rgb */ color: rgb(106, 99, 22);
/* oklch */ color: oklch(49.2% 0.094 104.0);
Tailwind
colors: {
  custom: {
    50: '#988f5a',
    500: '#6a6316',
    950: '#000000',
  },
}
SCSS
$custom: #6a6316;
$custom-light: #988f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6316",
  "rgb": {
    "r": 106,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 55,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49161,
    "c": 0.09431,
    "h": 104
  },
  "luminance": 0.12046
}

Semantic roles & 50–950 ramp

primary
#6A6316
secondary
#3B44A0
accent
#4DE93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6316

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

Preview Lab → · Contrast checker → · Palette generator →

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