#6A6016#6A6016

#6A6016 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.4% C 0.091 H 101.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6A6016
RGBrgb(106, 96, 22)
HSLhsl(53, 66%, 25%)
HSVhsv(53, 79%, 42%)
CMYKcmyk(0%, 9.4%, 79.2%, 58.4%)
CIE-LABlab(40.39, -4.90, 40.88)
CIE-LCHlch(40.39, 41.17, 96.84°)
OKLaboklab(48.45% -0.0179 0.0897)
OKLCHoklch(48.45% 0.091 101.3)
XYZxyz(10.2720, 11.4883, 2.4353)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6016 #16206A
analogous
#6A3616 #6A6016 #4A6A16
triadic
#6A6016 #166A60 #60166A
tetradic
#6A6016 #166A36 #16206A #6A164A
square
#6A6016 #166A36 #16206A #6A164A
split-complementary
#6A6016 #164A6A #36166A
monochromatic
#191705 #37320B #6A6016 #9D8E21 #CFBC2B

Accessibility & contrast

On white

6.37
#6A6016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6A6016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6016
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6016#FFFFFF#000000##FFFFFF
##6A60161.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D07
Deuteranopia (green-blind)
#6D611B
Tritanopia (blue-blind)
#735952
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a6016;
/* rgb */ color: rgb(106, 96, 22);
/* oklch */ color: oklch(48.4% 0.091 101.3);
Tailwind
colors: {
  custom: {
    50: '#988c5a',
    500: '#6a6016',
    950: '#000000',
  },
}
SCSS
$custom: #6a6016;
$custom-light: #988c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6016",
  "rgb": {
    "r": 106,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 52.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48446,
    "c": 0.09149,
    "h": 101.3
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#6A6016
secondary
#3B47A0
accent
#53E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6016

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

Preview Lab → · Contrast checker → · Palette generator →

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