#646E2B#646E2B

#646E2B is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.5% C 0.092 H 116.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#646E2B
RGBrgb(100, 110, 43)
HSLhsl(69, 44%, 30%)
HSVhsv(69, 61%, 43%)
CMYKcmyk(9.1%, 0%, 60.9%, 56.9%)
CIE-LABlab(44.28, -14.22, 35.30)
CIE-LCHlch(44.28, 38.06, 111.94°)
OKLaboklab(51.48% -0.0414 0.0817)
OKLCHoklch(51.48% 0.092 116.9)
XYZxyz(11.2677, 14.0357, 4.4006)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E2B #352B6E
analogous
#6E562B #646E2B #436E2B
triadic
#646E2B #2B646E #6E2B64
tetradic
#646E2B #2B6E56 #352B6E #6E2B43
square
#646E2B #2B6E56 #352B6E #6E2B43
split-complementary
#646E2B #2B436E #562B6E
monochromatic
#141609 #3C421A #646E2B #8C9A3C #AEBD56

Accessibility & contrast

On white

5.52
#646E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#646E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E2B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E2B#FFFFFF#000000##FFFFFF
##646E2B1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756824
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#6A6860
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646e2b;
/* rgb */ color: rgb(100, 110, 43);
/* oklch */ color: oklch(51.5% 0.092 116.9);
Tailwind
colors: {
  custom: {
    50: '#929767',
    500: '#646e2b',
    950: '#000000',
  },
}
SCSS
$custom: #646e2b;
$custom-light: #929767;
$custom-dark: #000000;
JSON
{
  "hex": "#646e2b",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 68.955,
    "s": 43.791,
    "l": 30
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.09162,
    "h": 116.9
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#646E2B
secondary
#6055A0
accent
#54D467
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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