#646A2B#646A2B

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

Color values

HEX#646A2B
RGBrgb(100, 106, 43)
HSLhsl(66, 42%, 29%)
HSVhsv(66, 59%, 42%)
CMYKcmyk(5.7%, 0%, 59.4%, 58.4%)
CIE-LABlab(43.05, -12.01, 33.92)
CIE-LCHlch(43.05, 35.98, 109.50°)
OKLaboklab(50.49% -0.0351 0.0788)
OKLCHoklch(50.49% 0.086 114)
XYZxyz(10.8458, 13.1920, 4.2600)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A2B #312B6A
analogous
#6A512B #646A2B #456A2B
triadic
#646A2B #2B646A #6A2B64
tetradic
#646A2B #2B6A51 #312B6A #6A2B45
square
#646A2B #2B6A51 #312B6A #6A2B45
split-complementary
#646A2B #2B456A #512B6A
monochromatic
#151609 #3B3E19 #646A2B #8D963D #B1BA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646A2B#FFFFFF#000000##FFFFFF
##646A2B1.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)
#716524
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#6A645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646a2b;
/* rgb */ color: rgb(100, 106, 43);
/* oklch */ color: oklch(50.5% 0.086 114.0);
Tailwind
colors: {
  custom: {
    50: '#929467',
    500: '#646a2b',
    950: '#000000',
  },
}
SCSS
$custom: #646a2b;
$custom-light: #929467;
$custom-dark: #000000;
JSON
{
  "hex": "#646a2b",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 65.714,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.08627,
    "h": 114
  },
  "luminance": 0.13192
}

Semantic roles & 50–950 ramp

primary
#646A2B
secondary
#5C559C
accent
#56D262
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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