#646D1A#646D1A

#646D1A is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.104 H 115.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#646D1A
RGBrgb(100, 109, 26)
HSLhsl(67, 61%, 26%)
HSVhsv(67, 76%, 43%)
CMYKcmyk(8.3%, 0%, 76.1%, 57.3%)
CIE-LABlab(43.83, -14.89, 42.41)
CIE-LCHlch(43.83, 44.95, 109.34°)
OKLaboklab(51.07% -0.0451 0.094)
OKLCHoklch(51.07% 0.104 115.6)
XYZxyz(10.9109, 13.7214, 3.0508)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D1A #231A6D
analogous
#6D4D1A #646D1A #3B6D1A
triadic
#646D1A #1A646D #6D1A64
tetradic
#646D1A #1A6D4D #231A6D #6D1A3B
square
#646D1A #1A6D4D #231A6D #6D1A3B
split-complementary
#646D1A #1A3B6D #4D1A6D
monochromatic
#171906 #373C0E #646D1A #919E26 #BECE33

Accessibility & contrast

On white

5.61
#646D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#646D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D1A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D1A#FFFFFF#000000##FFFFFF
##646D1A1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670A
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d1a;
/* rgb */ color: rgb(100, 109, 26);
/* oklch */ color: oklch(51.1% 0.104 115.6);
Tailwind
colors: {
  custom: {
    50: '#93965d',
    500: '#646d1a',
    950: '#000000',
  },
}
SCSS
$custom: #646d1a;
$custom-light: #93965d;
$custom-dark: #000000;
JSON
{
  "hex": "#646d1a",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 66.506,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51068,
    "c": 0.10425,
    "h": 115.6
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#646D1A
secondary
#4B41A2
accent
#43E555
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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