#646C2A#646C2A

#646C2A is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.0% C 0.090 H 115.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#646C2A
RGBrgb(100, 108, 42)
HSLhsl(67, 44%, 29%)
HSVhsv(67, 61%, 42%)
CMYKcmyk(7.4%, 0%, 61.1%, 57.6%)
CIE-LABlab(43.66, -13.21, 35.10)
CIE-LCHlch(43.66, 37.50, 110.63°)
OKLaboklab(50.97% -0.0386 0.0812)
OKLCHoklch(50.97% 0.09 115.5)
XYZxyz(11.0362, 13.6018, 4.2341)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C2A #322A6C
analogous
#6C532A #646C2A #436C2A
triadic
#646C2A #2A646C #6C2A64
tetradic
#646C2A #2A6C53 #322A6C #6C2A43
square
#646C2A #2A6C53 #322A6C #6C2A43
split-complementary
#646C2A #2A436C #532A6C
monochromatic
#141609 #3B4019 #646C2A #8D983B #B0BC54

Accessibility & contrast

On white

5.64
#646C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#646C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C2A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C2A#FFFFFF#000000##FFFFFF
##646C2A1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736723
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#6A665E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c2a;
/* rgb */ color: rgb(100, 108, 42);
/* oklch */ color: oklch(51.0% 0.090 115.5);
Tailwind
colors: {
  custom: {
    50: '#929666',
    500: '#646c2a',
    950: '#000000',
  },
}
SCSS
$custom: #646c2a;
$custom-light: #929666;
$custom-dark: #000000;
JSON
{
  "hex": "#646c2a",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 42
  },
  "hsl": {
    "h": 67.273,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50971,
    "c": 0.0899,
    "h": 115.5
  },
  "luminance": 0.13602
}

Semantic roles & 50–950 ramp

primary
#646C2A
secondary
#5D549E
accent
#54D464
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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