#646B37#646B37

#646B37 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.9% C 0.075 H 115.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#646B37
RGBrgb(100, 107, 55)
HSLhsl(68, 32%, 32%)
HSVhsv(68, 49%, 42%)
CMYKcmyk(6.5%, 0%, 48.6%, 58%)
CIE-LABlab(43.51, -11.35, 28.09)
CIE-LCHlch(43.51, 30.30, 112.00°)
OKLaboklab(50.9% -0.032 0.0673)
OKLCHoklch(50.9% 0.075 115.4)
XYZxyz(11.2029, 13.5007, 5.6294)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B37 #3E376B
analogous
#6B5837 #646B37 #4A6B37
triadic
#646B37 #37646B #6B3764
tetradic
#646B37 #376B58 #3E376B #6B374A
square
#646B37 #376B58 #3E376B #6B374A
split-complementary
#646B37 #374A6B #58376B
monochromatic
#181A0D #3E4322 #646B37 #8A934C #A9B26A

Accessibility & contrast

On white

5.68
#646B37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#646B37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B37
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B37#FFFFFF#000000##FFFFFF
##646B371.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716633
Deuteranopia (green-blind)
#71673A
Tritanopia (blue-blind)
#69665F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646b37;
/* rgb */ color: rgb(100, 107, 55);
/* oklch */ color: oklch(50.9% 0.075 115.4);
Tailwind
colors: {
  custom: {
    50: '#91956f',
    500: '#646b37',
    950: '#000000',
  },
}
SCSS
$custom: #646b37;
$custom-light: #91956f;
$custom-dark: #000000;
JSON
{
  "hex": "#646b37",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 55
  },
  "hsl": {
    "h": 68.077,
    "s": 32.099,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.07453,
    "h": 115.4
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#646B37
secondary
#6A629B
accent
#60C86E
background
#F9F9F6
surface
#F1F1EC
border
#CBCBC7
text
#0D0D07
muted
#7E7E7A

Preview Lab

Preview with #646B37

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

Preview Lab → · Contrast checker → · Palette generator →

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