#6A6722#6A6722

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

Color values

HEX#6A6722
RGBrgb(106, 103, 34)
HSLhsl(58, 51%, 27%)
HSVhsv(58, 68%, 42%)
CMYKcmyk(0%, 2.8%, 67.9%, 58.4%)
CIE-LABlab(42.58, -8.24, 37.93)
CIE-LCHlch(42.58, 38.81, 102.25°)
OKLaboklab(50.22% -0.0259 0.0858)
OKLCHoklch(50.22% 0.09 106.8)
XYZxyz(11.0832, 12.8805, 3.4154)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6722 #22256A
analogous
#6A4322 #6A6722 #496A22
triadic
#6A6722 #226A67 #67226A
tetradic
#6A6722 #226A43 #22256A #6A2249
square
#6A6722 #226A43 #22256A #6A2249
split-complementary
#6A6722 #22496A #43226A
monochromatic
#171707 #3C3A13 #6A6722 #989431 #C3BE44

Accessibility & contrast

On white

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

On black

3.58
#6A6722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6A6722#FFFFFF#000000##FFFFFF
##6A67221.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706319
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#726059
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6722;
/* rgb */ color: rgb(106, 103, 34);
/* oklch */ color: oklch(50.2% 0.090 106.8);
Tailwind
colors: {
  custom: {
    50: '#979261',
    500: '#6a6722',
    950: '#000000',
  },
}
SCSS
$custom: #6a6722;
$custom-light: #979261;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6722",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 57.5,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50219,
    "c": 0.08965,
    "h": 106.8
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#6A6722
secondary
#4A4E9E
accent
#53DB4D
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6A6722

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

Preview Lab → · Contrast checker → · Palette generator →

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