#646C1A#646C1A

#646C1A is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.103 H 115.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#646C1A
RGBrgb(100, 108, 26)
HSLhsl(66, 61%, 26%)
HSVhsv(66, 76%, 42%)
CMYKcmyk(7.4%, 0%, 75.9%, 57.6%)
CIE-LABlab(43.52, -14.34, 42.11)
CIE-LCHlch(43.52, 44.49, 108.81°)
OKLaboklab(50.82% -0.0436 0.0934)
OKLCHoklch(50.82% 0.103 115)
XYZxyz(10.8048, 13.5092, 3.0154)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C1A #221A6C
analogous
#6C4B1A #646C1A #3B6C1A
triadic
#646C1A #1A646C #6C1A64
tetradic
#646C1A #1A6C4B #221A6C #6C1A3B
square
#646C1A #1A6C4B #221A6C #6C1A3B
split-complementary
#646C1A #1A3B6C #4B1A6C
monochromatic
#171906 #363B0E #646C1A #929D26 #BFCE33

Accessibility & contrast

On white

5.67
#646C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646C1A
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C1A#FFFFFF#000000##FFFFFF
##646C1A1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660A
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c1a;
/* rgb */ color: rgb(100, 108, 26);
/* oklch */ color: oklch(50.8% 0.103 115.0);
Tailwind
colors: {
  custom: {
    50: '#93965d',
    500: '#646c1a',
    950: '#000000',
  },
}
SCSS
$custom: #646c1a;
$custom-light: #93965d;
$custom-dark: #000000;
JSON
{
  "hex": "#646c1a",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 65.854,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.10303,
    "h": 115
  },
  "luminance": 0.13509
}

Semantic roles & 50–950 ramp

primary
#646C1A
secondary
#4A41A1
accent
#43E453
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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