#6A6716#6A6716

#6A6716 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.098 H 107.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6A6716
RGBrgb(106, 103, 22)
HSLhsl(58, 66%, 25%)
HSVhsv(58, 79%, 42%)
CMYKcmyk(0%, 2.8%, 79.2%, 58.4%)
CIE-LABlab(42.50, -8.92, 42.84)
CIE-LCHlch(42.50, 43.76, 101.76°)
OKLaboklab(50.12% -0.0292 0.0939)
OKLCHoklch(50.12% 0.098 107.3)
XYZxyz(10.9394, 12.8230, 2.6577)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6716 #16196A
analogous
#6A3D16 #6A6716 #436A16
triadic
#6A6716 #166A67 #67166A
tetradic
#6A6716 #166A3D #16196A #6A1643
square
#6A6716 #166A3D #16196A #6A1643
split-complementary
#6A6716 #16436A #3D166A
monochromatic
#191905 #37360B #6A6716 #9D9821 #CFC92B

Accessibility & contrast

On white

5.89
#6A6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6A6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6716
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6716#FFFFFF#000000##FFFFFF
##6A67161.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706304
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#726058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a6716;
/* rgb */ color: rgb(106, 103, 22);
/* oklch */ color: oklch(50.1% 0.098 107.3);
Tailwind
colors: {
  custom: {
    50: '#98925b',
    500: '#6a6716',
    950: '#000000',
  },
}
SCSS
$custom: #6a6716;
$custom-light: #98925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6716",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 57.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.09833,
    "h": 107.3
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#6A6716
secondary
#3B3FA0
accent
#45E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6716

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

Preview Lab → · Contrast checker → · Palette generator →

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