#646F2F#646F2F

#646F2F is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.8% C 0.089 H 117.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#646F2F
RGBrgb(100, 111, 47)
HSLhsl(70, 41%, 31%)
HSVhsv(70, 58%, 44%)
CMYKcmyk(9.9%, 0%, 57.7%, 56.5%)
CIE-LABlab(44.64, -14.40, 33.69)
CIE-LCHlch(44.64, 36.64, 113.15°)
OKLaboklab(51.78% -0.0414 0.0788)
OKLCHoklch(51.78% 0.089 117.7)
XYZxyz(11.4532, 14.2835, 4.8424)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F2F #3A2F6F
analogous
#6F5A2F #646F2F #446F2F
triadic
#646F2F #2F646F #6F2F64
tetradic
#646F2F #2F6F5A #3A2F6F #6F2F44
square
#646F2F #2F6F5A #3A2F6F #6F2F44
split-complementary
#646F2F #2F446F #5A2F6F
monochromatic
#17190B #3D441D #646F2F #8B9A41 #ABBB5E

Accessibility & contrast

On white

5.45
#646F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#646F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F2F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F2F#FFFFFF#000000##FFFFFF
##646F2F1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766929
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#6A6961
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #646f2f;
/* rgb */ color: rgb(100, 111, 47);
/* oklch */ color: oklch(51.8% 0.089 117.7);
Tailwind
colors: {
  custom: {
    50: '#92986a',
    500: '#646f2f',
    950: '#000000',
  },
}
SCSS
$custom: #646f2f;
$custom-light: #92986a;
$custom-dark: #000000;
JSON
{
  "hex": "#646f2f",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 47
  },
  "hsl": {
    "h": 70.313,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.08901,
    "h": 117.7
  },
  "luminance": 0.14283
}

Semantic roles & 50–950 ramp

primary
#646F2F
secondary
#6659A0
accent
#57D06C
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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