#6A6728#6A6728

#6A6728 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.3% C 0.084 H 106.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6A6728
RGBrgb(106, 103, 40)
HSLhsl(57, 45%, 29%)
HSVhsv(57, 62%, 42%)
CMYKcmyk(0%, 2.8%, 62.3%, 58.4%)
CIE-LABlab(42.64, -7.79, 35.11)
CIE-LCHlch(42.64, 35.96, 102.51°)
OKLaboklab(50.28% -0.0239 0.0808)
OKLCHoklch(50.28% 0.084 106.5)
XYZxyz(11.1775, 12.9182, 3.9117)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6728 #282B6A
analogous
#6A4628 #6A6728 #4C6A28
triadic
#6A6728 #286A67 #67286A
tetradic
#6A6728 #286A46 #282B6A #6A284C
square
#6A6728 #286A46 #282B6A #6A284C
split-complementary
#6A6728 #284C6A #46286A
monochromatic
#161608 #3E3C17 #6A6728 #969239 #BDB850

Accessibility & contrast

On white

5.86
#6A6728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A6728
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6728#FFFFFF#000000##FFFFFF
##6A67281.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6321
Deuteranopia (green-blind)
#71662C
Tritanopia (blue-blind)
#726059
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6728;
/* rgb */ color: rgb(106, 103, 40);
/* oklch */ color: oklch(50.3% 0.084 106.5);
Tailwind
colors: {
  custom: {
    50: '#979265',
    500: '#6a6728',
    950: '#000000',
  },
}
SCSS
$custom: #6a6728;
$custom-light: #979265;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6728",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 57.273,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50282,
    "c": 0.08427,
    "h": 106.5
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#6A6728
secondary
#51559D
accent
#59D553
background
#F9F8F6
surface
#F2F0EB
border
#CCCBC6
text
#0E0C06
muted
#7E7D7A

Preview Lab

Preview with #6A6728

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

Preview Lab → · Contrast checker → · Palette generator →

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