#6A6A16#6A6A16

#6A6A16 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.8% C 0.102 H 109.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6A6A16
RGBrgb(106, 106, 22)
HSLhsl(60, 66%, 25%)
HSVhsv(60, 79%, 42%)
CMYKcmyk(0%, 0%, 79.2%, 58.4%)
CIE-LABlab(43.40, -10.61, 43.68)
CIE-LCHlch(43.40, 44.95, 103.66°)
OKLaboklab(50.85% -0.0339 0.0957)
OKLCHoklch(50.85% 0.102 109.5)
XYZxyz(11.2431, 13.4305, 2.7590)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6A16 #16166A
analogous
#6A4016 #6A6A16 #406A16
triadic
#6A6A16 #166A6A #6A166A
tetradic
#6A6A16 #166A40 #16166A #6A1640
square
#6A6A16 #166A40 #16166A #6A1640
split-complementary
#6A6A16 #16406A #40166A
monochromatic
#191905 #37370B #6A6A16 #9D9D21 #CFCF2B

Accessibility & contrast

On white

5.70
#6A6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6A6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6A16
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6A16#FFFFFF#000000##FFFFFF
##6A6A161.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736503
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#72635A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a6a16;
/* rgb */ color: rgb(106, 106, 22);
/* oklch */ color: oklch(50.8% 0.102 109.5);
Tailwind
colors: {
  custom: {
    50: '#98945b',
    500: '#6a6a16',
    950: '#000000',
  },
}
SCSS
$custom: #6a6a16;
$custom-light: #98945b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6a16",
  "rgb": {
    "r": 106,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.10152,
    "h": 109.5
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#6A6A16
secondary
#3B3BA0
accent
#3FE93F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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