#646A1D#646A1D

#646A1D is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.3% C 0.099 H 113.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#646A1D
RGBrgb(100, 106, 29)
HSLhsl(65, 57%, 26%)
HSVhsv(65, 73%, 42%)
CMYKcmyk(5.7%, 0%, 72.6%, 58.4%)
CIE-LABlab(42.92, -13.07, 40.31)
CIE-LCHlch(42.92, 42.38, 107.96°)
OKLaboklab(50.35% -0.0397 0.0901)
OKLCHoklch(50.35% 0.099 113.8)
XYZxyz(10.6316, 13.1063, 3.1319)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A1D #231D6A
analogous
#6A4A1D #646A1D #3E6A1D
triadic
#646A1D #1D646A #6A1D64
tetradic
#646A1D #1D6A4A #231D6A #6A1D3E
square
#646A1D #1D6A4A #231D6A #6A1D3E
split-complementary
#646A1D #1D3E6A #4A1D6A
monochromatic
#171807 #373A10 #646A1D #919A2A #BEC939

Accessibility & contrast

On white

5.80
#646A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#646A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A1D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A1D#FFFFFF#000000##FFFFFF
##646A1D1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726511
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#6B635B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a1d;
/* rgb */ color: rgb(100, 106, 29);
/* oklch */ color: oklch(50.3% 0.099 113.8);
Tailwind
colors: {
  custom: {
    50: '#93945e',
    500: '#646a1d',
    950: '#000000',
  },
}
SCSS
$custom: #646a1d;
$custom-light: #93945e;
$custom-dark: #000000;
JSON
{
  "hex": "#646a1d",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 29
  },
  "hsl": {
    "h": 64.675,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50347,
    "c": 0.0985,
    "h": 113.8
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#646A1D
secondary
#4B449F
accent
#48E053
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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