#646B2B#646B2B

#646B2B is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.088 H 114.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#646B2B
RGBrgb(100, 107, 43)
HSLhsl(67, 43%, 29%)
HSVhsv(67, 60%, 42%)
CMYKcmyk(6.5%, 0%, 59.8%, 58%)
CIE-LABlab(43.36, -12.57, 34.26)
CIE-LCHlch(43.36, 36.50, 110.14°)
OKLaboklab(50.74% -0.0367 0.0795)
OKLCHoklch(50.74% 0.088 114.8)
XYZxyz(10.9495, 13.3993, 4.2945)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B2B #322B6B
analogous
#6B522B #646B2B #446B2B
triadic
#646B2B #2B646B #6B2B64
tetradic
#646B2B #2B6B52 #322B6B #6B2B44
square
#646B2B #2B6B52 #322B6B #6B2B44
split-complementary
#646B2B #2B446B #522B6B
monochromatic
#141609 #3B3F19 #646B2B #8D973D #B0BB56

Accessibility & contrast

On white

5.71
#646B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#646B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B2B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B2B#FFFFFF#000000##FFFFFF
##646B2B1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726624
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#6A655D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646b2b;
/* rgb */ color: rgb(100, 107, 43);
/* oklch */ color: oklch(50.7% 0.088 114.8);
Tailwind
colors: {
  custom: {
    50: '#929567',
    500: '#646b2b',
    950: '#000000',
  },
}
SCSS
$custom: #646b2b;
$custom-light: #929567;
$custom-dark: #000000;
JSON
{
  "hex": "#646b2b",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 43
  },
  "hsl": {
    "h": 66.563,
    "s": 42.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50737,
    "c": 0.08759,
    "h": 114.8
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#646B2B
secondary
#5D559D
accent
#55D263
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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