#646D2A#646D2A

#646D2A is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.2% C 0.091 H 116.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#646D2A
RGBrgb(100, 109, 42)
HSLhsl(68, 44%, 30%)
HSVhsv(68, 61%, 43%)
CMYKcmyk(8.3%, 0%, 61.5%, 57.3%)
CIE-LABlab(43.96, -13.76, 35.44)
CIE-LCHlch(43.96, 38.02, 111.22°)
OKLaboklab(51.22% -0.0402 0.0819)
OKLCHoklch(51.22% 0.091 116.1)
XYZxyz(11.1423, 13.8139, 4.2694)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D2A #332A6D
analogous
#6D552A #646D2A #426D2A
triadic
#646D2A #2A646D #6D2A64
tetradic
#646D2A #2A6D55 #332A6D #6D2A42
square
#646D2A #2A6D55 #332A6D #6D2A42
split-complementary
#646D2A #2A426D #552A6D
monochromatic
#141609 #3B4119 #646D2A #8D993B #AFBD54

Accessibility & contrast

On white

5.58
#646D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#646D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D2A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D2A#FFFFFF#000000##FFFFFF
##646D2A1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746823
Deuteranopia (green-blind)
#74682E
Tritanopia (blue-blind)
#6A675F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d2a;
/* rgb */ color: rgb(100, 109, 42);
/* oklch */ color: oklch(51.2% 0.091 116.1);
Tailwind
colors: {
  custom: {
    50: '#929666',
    500: '#646d2a',
    950: '#000000',
  },
}
SCSS
$custom: #646d2a;
$custom-light: #929666;
$custom-dark: #000000;
JSON
{
  "hex": "#646d2a",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 42
  },
  "hsl": {
    "h": 68.06,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.09124,
    "h": 116.1
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#646D2A
secondary
#5E549F
accent
#54D465
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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