#646B2F#646B2F

#646B2F is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.8% C 0.083 H 114.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#646B2F
RGBrgb(100, 107, 47)
HSLhsl(67, 39%, 30%)
HSVhsv(67, 56%, 42%)
CMYKcmyk(6.5%, 0%, 56.1%, 58%)
CIE-LABlab(43.40, -12.20, 32.26)
CIE-LCHlch(43.40, 34.49, 110.71°)
OKLaboklab(50.79% -0.0352 0.0757)
OKLCHoklch(50.79% 0.083 114.9)
XYZxyz(11.0265, 13.4301, 4.7002)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B2F #362F6B
analogous
#6B542F #646B2F #466B2F
triadic
#646B2F #2F646B #6B2F64
tetradic
#646B2F #2F6B54 #362F6B #6B2F46
square
#646B2F #2F6B54 #362F6B #6B2F46
split-complementary
#646B2F #2F466B #542F6B
monochromatic
#15160A #3C401C #646B2F #8C9642 #ADB85D

Accessibility & contrast

On white

5.70
#646B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#646B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B2F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B2F#FFFFFF#000000##FFFFFF
##646B2F1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#6A655E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646b2f;
/* rgb */ color: rgb(100, 107, 47);
/* oklch */ color: oklch(50.8% 0.083 114.9);
Tailwind
colors: {
  custom: {
    50: '#929569',
    500: '#646b2f',
    950: '#000000',
  },
}
SCSS
$custom: #646b2f;
$custom-light: #929569;
$custom-dark: #000000;
JSON
{
  "hex": "#646b2f",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 47
  },
  "hsl": {
    "h": 67,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50788,
    "c": 0.08349,
    "h": 114.9
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#646B2F
secondary
#61599C
accent
#59CF67
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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