#6A6721#6A6721

#6A6721 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.2% C 0.090 H 106.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6A6721
RGBrgb(106, 103, 33)
HSLhsl(58, 53%, 27%)
HSVhsv(58, 69%, 42%)
CMYKcmyk(0%, 2.8%, 68.9%, 58.4%)
CIE-LABlab(42.57, -8.30, 38.38)
CIE-LCHlch(42.57, 39.27, 102.21°)
OKLaboklab(50.21% -0.0263 0.0866)
OKLCHoklch(50.21% 0.09 106.9)
XYZxyz(11.0690, 12.8748, 3.3406)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6721 #21246A
analogous
#6A4221 #6A6721 #496A21
triadic
#6A6721 #216A67 #67216A
tetradic
#6A6721 #216A42 #21246A #6A2149
square
#6A6721 #216A42 #21246A #6A2149
split-complementary
#6A6721 #21496A #42216A
monochromatic
#171707 #3B3A12 #6A6721 #999430 #C4BF41

Accessibility & contrast

On white

5.87
#6A6721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6A6721 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6721
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6721#FFFFFF#000000##FFFFFF
##6A67211.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706318
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#726059
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a6721;
/* rgb */ color: rgb(106, 103, 33);
/* oklch */ color: oklch(50.2% 0.090 106.9);
Tailwind
colors: {
  custom: {
    50: '#979260',
    500: '#6a6721',
    950: '#000000',
  },
}
SCSS
$custom: #6a6721;
$custom-light: #979260;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6721",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 33
  },
  "hsl": {
    "h": 57.534,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.09048,
    "h": 106.9
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#6A6721
secondary
#494C9E
accent
#52DC4C
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6A6721

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

Preview Lab → · Contrast checker → · Palette generator →

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