#6A661A#6A661A

#6A661A is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.9% C 0.095 H 106.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6A661A
RGBrgb(106, 102, 26)
HSLhsl(57, 61%, 26%)
HSVhsv(57, 75%, 42%)
CMYKcmyk(0%, 3.8%, 75.5%, 58.4%)
CIE-LABlab(42.22, -8.15, 41.04)
CIE-LCHlch(42.22, 41.84, 101.24°)
OKLaboklab(49.91% -0.0266 0.0909)
OKLCHoklch(49.91% 0.095 106.3)
XYZxyz(10.8821, 12.6419, 2.8440)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A661A #1A1E6A
analogous
#6A3E1A #6A661A #466A1A
triadic
#6A661A #1A6A66 #661A6A
tetradic
#6A661A #1A6A3E #1A1E6A #6A1A46
square
#6A661A #1A6A3E #1A1E6A #6A1A46
split-complementary
#6A661A #1A466A #3E1A6A
monochromatic
#191806 #39370E #6A661A #9B9526 #CCC532

Accessibility & contrast

On white

5.95
#6A661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6A661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A661A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A661A#FFFFFF#000000##FFFFFF
##6A661A1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620D
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#725F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a661a;
/* rgb */ color: rgb(106, 102, 26);
/* oklch */ color: oklch(49.9% 0.095 106.3);
Tailwind
colors: {
  custom: {
    50: '#97915c',
    500: '#6a661a',
    950: '#000000',
  },
}
SCSS
$custom: #6a661a;
$custom-light: #97915c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a661a",
  "rgb": {
    "r": 106,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 57,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49909,
    "c": 0.0947,
    "h": 106.3
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#6A661A
secondary
#40459F
accent
#4CE444
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A661A

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

Preview Lab → · Contrast checker → · Palette generator →

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