#6A6D16#6A6D16

#6A6D16 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.6% C 0.105 H 111.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6A6D16
RGBrgb(106, 109, 22)
HSLhsl(62, 66%, 26%)
HSVhsv(62, 80%, 43%)
CMYKcmyk(2.8%, 0%, 79.8%, 57.3%)
CIE-LABlab(44.32, -12.28, 44.52)
CIE-LCHlch(44.32, 46.18, 105.42°)
OKLaboklab(51.58% -0.0386 0.0975)
OKLCHoklch(51.58% 0.105 111.6)
XYZxyz(11.5577, 14.0597, 2.8639)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6D16 #19166D
analogous
#6D4416 #6A6D16 #3E6D16
triadic
#6A6D16 #166A6D #6D166A
tetradic
#6A6D16 #166D44 #19166D #6D163E
square
#6A6D16 #166D44 #19166D #6D163E
split-complementary
#6A6D16 #163E6D #44166D
monochromatic
#191905 #383A0C #6A6D16 #9CA020 #CDD32B

Accessibility & contrast

On white

5.51
#6A6D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6A6D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6D16
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6D16#FFFFFF#000000##FFFFFF
##6A6D161.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766802
Deuteranopia (green-blind)
#766A1E
Tritanopia (blue-blind)
#72665D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a6d16;
/* rgb */ color: rgb(106, 109, 22);
/* oklch */ color: oklch(51.6% 0.105 111.6);
Tailwind
colors: {
  custom: {
    50: '#98965b',
    500: '#6a6d16',
    950: '#000000',
  },
}
SCSS
$custom: #6a6d16;
$custom-light: #98965b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6d16",
  "rgb": {
    "r": 106,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 62.069,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.10482,
    "h": 111.6
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#6A6D16
secondary
#3F3CA3
accent
#3EE944
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6D16

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

Preview Lab → · Contrast checker → · Palette generator →

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