#646A2C#646A2C

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

Color values

HEX#646A2C
RGBrgb(100, 106, 44)
HSLhsl(66, 41%, 29%)
HSVhsv(66, 58%, 42%)
CMYKcmyk(5.7%, 0%, 58.5%, 58.4%)
CIE-LABlab(43.06, -11.92, 33.42)
CIE-LCHlch(43.06, 35.48, 109.63°)
OKLaboklab(50.5% -0.0348 0.0778)
OKLCHoklch(50.5% 0.085 114.1)
XYZxyz(10.8644, 13.1994, 4.3578)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A2C #322C6A
analogous
#6A512C #646A2C #456A2C
triadic
#646A2C #2C646A #6A2C64
tetradic
#646A2C #2C6A51 #322C6A #6A2C45
square
#646A2C #2C6A51 #322C6A #6A2C45
split-complementary
#646A2C #2C456A #512C6A
monochromatic
#141609 #3B3F1A #646A2C #8D953E #B0B957

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646A2C#FFFFFF#000000##FFFFFF
##646A2C1.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)
#716526
Deuteranopia (green-blind)
#716630
Tritanopia (blue-blind)
#6A645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646a2c;
/* rgb */ color: rgb(100, 106, 44);
/* oklch */ color: oklch(50.5% 0.085 114.1);
Tailwind
colors: {
  custom: {
    50: '#929467',
    500: '#646a2c',
    950: '#000000',
  },
}
SCSS
$custom: #646a2c;
$custom-light: #929467;
$custom-dark: #000000;
JSON
{
  "hex": "#646a2c",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 44
  },
  "hsl": {
    "h": 65.806,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50503,
    "c": 0.08526,
    "h": 114.1
  },
  "luminance": 0.13199
}

Semantic roles & 50–950 ramp

primary
#646A2C
secondary
#5D569C
accent
#57D162
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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