#6A6723#6A6723

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

Color values

HEX#6A6723
RGBrgb(106, 103, 35)
HSLhsl(57, 50%, 28%)
HSVhsv(57, 67%, 42%)
CMYKcmyk(0%, 2.8%, 67%, 58.4%)
CIE-LABlab(42.59, -8.17, 37.47)
CIE-LCHlch(42.59, 38.35, 102.29°)
OKLaboklab(50.23% -0.0256 0.085)
OKLCHoklch(50.23% 0.089 106.8)
XYZxyz(11.0979, 12.8864, 3.4925)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6723 #23266A
analogous
#6A4423 #6A6723 #496A23
triadic
#6A6723 #236A67 #67236A
tetradic
#6A6723 #236A44 #23266A #6A2349
square
#6A6723 #236A44 #23266A #6A2349
split-complementary
#6A6723 #23496A #44236A
monochromatic
#171608 #3C3A14 #6A6723 #989432 #C2BD46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A6723#FFFFFF#000000##FFFFFF
##6A67231.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)
#70631A
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#726059
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6723;
/* rgb */ color: rgb(106, 103, 35);
/* oklch */ color: oklch(50.2% 0.089 106.8);
Tailwind
colors: {
  custom: {
    50: '#979262',
    500: '#6a6723',
    950: '#000000',
  },
}
SCSS
$custom: #6a6723;
$custom-light: #979262;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6723",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 35
  },
  "hsl": {
    "h": 57.465,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.0888,
    "h": 106.8
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#6A6723
secondary
#4B4F9D
accent
#54DA4E
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6A6723

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

Preview Lab → · Contrast checker → · Palette generator →

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