#646A2A#646A2A

#646A2A is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.5% C 0.087 H 114.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#646A2A
RGBrgb(100, 106, 42)
HSLhsl(66, 43%, 29%)
HSVhsv(66, 60%, 42%)
CMYKcmyk(5.7%, 0%, 60.4%, 58.4%)
CIE-LABlab(43.04, -12.10, 34.41)
CIE-LCHlch(43.04, 36.47, 109.38°)
OKLaboklab(50.48% -0.0355 0.0797)
OKLCHoklch(50.48% 0.087 114)
XYZxyz(10.8277, 13.1847, 4.1646)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A2A #302A6A
analogous
#6A502A #646A2A #446A2A
triadic
#646A2A #2A646A #6A2A64
tetradic
#646A2A #2A6A50 #302A6A #6A2A44
square
#646A2A #2A6A50 #302A6A #6A2A44
split-complementary
#646A2A #2A446A #502A6A
monochromatic
#151609 #3B3E19 #646A2A #8D963B #B1BB53

Accessibility & contrast

On white

5.77
#646A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#646A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A2A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A2A#FFFFFF#000000##FFFFFF
##646A2A1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#71662E
Tritanopia (blue-blind)
#6A645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646a2a;
/* rgb */ color: rgb(100, 106, 42);
/* oklch */ color: oklch(50.5% 0.087 114.0);
Tailwind
colors: {
  custom: {
    50: '#929466',
    500: '#646a2a',
    950: '#000000',
  },
}
SCSS
$custom: #646a2a;
$custom-light: #929466;
$custom-dark: #000000;
JSON
{
  "hex": "#646a2a",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 65.625,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.08725,
    "h": 114
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#646A2A
secondary
#5A549C
accent
#55D361
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#646A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva