#646C1D#646C1D

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

Color values

HEX#646C1D
RGBrgb(100, 108, 29)
HSLhsl(66, 58%, 27%)
HSVhsv(66, 73%, 42%)
CMYKcmyk(7.4%, 0%, 73.1%, 57.6%)
CIE-LABlab(43.54, -14.17, 40.93)
CIE-LCHlch(43.54, 43.31, 109.09°)
OKLaboklab(50.84% -0.0428 0.0914)
OKLCHoklch(50.84% 0.101 115.1)
XYZxyz(10.8401, 13.5233, 3.2014)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C1D #251D6C
analogous
#6C4D1D #646C1D #3D6C1D
triadic
#646C1D #1D646C #6C1D64
tetradic
#646C1D #1D6C4D #251D6C #6C1D3D
square
#646C1D #1D6C4D #251D6C #6C1D3D
split-complementary
#646C1D #1D3D6C #4D1D6C
monochromatic
#161806 #373C10 #646C1D #919C2A #BBCA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646C1D#FFFFFF#000000##FFFFFF
##646C1D1.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)
#746610
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c1d;
/* rgb */ color: rgb(100, 108, 29);
/* oklch */ color: oklch(50.8% 0.101 115.1);
Tailwind
colors: {
  custom: {
    50: '#93965f',
    500: '#646c1d',
    950: '#000000',
  },
}
SCSS
$custom: #646c1d;
$custom-light: #93965f;
$custom-dark: #000000;
JSON
{
  "hex": "#646c1d",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 29
  },
  "hsl": {
    "h": 66.076,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50842,
    "c": 0.10094,
    "h": 115.1
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#646C1D
secondary
#4E44A1
accent
#47E156
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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