#646D2B#646D2B

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

Color values

HEX#646D2B
RGBrgb(100, 109, 43)
HSLhsl(68, 43%, 30%)
HSVhsv(68, 61%, 43%)
CMYKcmyk(8.3%, 0%, 60.6%, 57.3%)
CIE-LABlab(43.98, -13.67, 34.96)
CIE-LCHlch(43.98, 37.54, 111.36°)
OKLaboklab(51.23% -0.0398 0.081)
OKLCHoklch(51.23% 0.09 116.2)
XYZxyz(11.1604, 13.8212, 4.3649)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D2B #342B6D
analogous
#6D552B #646D2B #436D2B
triadic
#646D2B #2B646D #6D2B64
tetradic
#646D2B #2B6D55 #342B6D #6D2B43
square
#646D2B #2B6D55 #342B6D #6D2B43
split-complementary
#646D2B #2B436D #552B6D
monochromatic
#141609 #3C411A #646D2B #8C993C #AEBC56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646D2B#FFFFFF#000000##FFFFFF
##646D2B1.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)
#746824
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#6A675F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d2b;
/* rgb */ color: rgb(100, 109, 43);
/* oklch */ color: oklch(51.2% 0.090 116.2);
Tailwind
colors: {
  custom: {
    50: '#929667',
    500: '#646d2b',
    950: '#000000',
  },
}
SCSS
$custom: #646d2b;
$custom-light: #929667;
$custom-dark: #000000;
JSON
{
  "hex": "#646d2b",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 43
  },
  "hsl": {
    "h": 68.182,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.09026,
    "h": 116.2
  },
  "luminance": 0.13821
}

Semantic roles & 50–950 ramp

primary
#646D2B
secondary
#5F559F
accent
#55D366
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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