#646B1E#646B1E

#646B1E is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.099 H 114.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#646B1E
RGBrgb(100, 107, 30)
HSLhsl(65, 56%, 27%)
HSVhsv(65, 72%, 42%)
CMYKcmyk(6.5%, 0%, 72%, 58%)
CIE-LABlab(43.24, -13.56, 40.21)
CIE-LCHlch(43.24, 42.43, 108.63°)
OKLaboklab(50.6% -0.041 0.0901)
OKLCHoklch(50.6% 0.099 114.4)
XYZxyz(10.7479, 13.3186, 3.2326)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B1E #251E6B
analogous
#6B4C1E #646B1E #3E6B1E
triadic
#646B1E #1E646B #6B1E64
tetradic
#646B1E #1E6B4C #251E6B #6B1E3E
square
#646B1E #1E6B4C #251E6B #6B1E3E
split-complementary
#646B1E #1E3E6B #4C1E6B
monochromatic
#161807 #373B11 #646B1E #919B2B #BBC83B

Accessibility & contrast

On white

5.73
#646B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#646B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B1E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B1E#FFFFFF#000000##FFFFFF
##646B1E1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736512
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#6B645C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646b1e;
/* rgb */ color: rgb(100, 107, 30);
/* oklch */ color: oklch(50.6% 0.099 114.4);
Tailwind
colors: {
  custom: {
    50: '#93955f',
    500: '#646b1e',
    950: '#000000',
  },
}
SCSS
$custom: #646b1e;
$custom-light: #93955f;
$custom-dark: #000000;
JSON
{
  "hex": "#646b1e",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 30
  },
  "hsl": {
    "h": 65.455,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.09897,
    "h": 114.4
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#646B1E
secondary
#4E459F
accent
#48DF56
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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