#646F2C#646F2C

#646F2C is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.7% C 0.092 H 117.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#646F2C
RGBrgb(100, 111, 44)
HSLhsl(70, 43%, 30%)
HSVhsv(70, 60%, 44%)
CMYKcmyk(9.9%, 0%, 60.4%, 56.5%)
CIE-LABlab(44.60, -14.68, 35.16)
CIE-LCHlch(44.60, 38.11, 112.66°)
OKLaboklab(51.74% -0.0425 0.0816)
OKLCHoklch(51.74% 0.092 117.5)
XYZxyz(11.3948, 14.2602, 4.5346)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F2C #372C6F
analogous
#6F582C #646F2C #426F2C
triadic
#646F2C #2C646F #6F2C64
tetradic
#646F2C #2C6F58 #372C6F #6F2C42
square
#646F2C #2C6F58 #372C6F #6F2C42
split-complementary
#646F2C #2C426F #582C6F
monochromatic
#151709 #3D431B #646F2C #8B9B3D #ACBD58

Accessibility & contrast

On white

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

On black

3.85
#646F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##646F2C#FFFFFF#000000##FFFFFF
##646F2C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766925
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#6A6960
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f2c;
/* rgb */ color: rgb(100, 111, 44);
/* oklch */ color: oklch(51.7% 0.092 117.5);
Tailwind
colors: {
  custom: {
    50: '#929868',
    500: '#646f2c',
    950: '#000000',
  },
}
SCSS
$custom: #646f2c;
$custom-light: #929868;
$custom-dark: #000000;
JSON
{
  "hex": "#646f2c",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 69.851,
    "s": 43.226,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.09201,
    "h": 117.5
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#646F2C
secondary
#6256A1
accent
#55D36A
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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