#646C17#646C17

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

Color values

HEX#646C17
RGBrgb(100, 108, 23)
HSLhsl(66, 65%, 26%)
HSVhsv(66, 79%, 42%)
CMYKcmyk(7.4%, 0%, 78.7%, 57.6%)
CIE-LABlab(43.50, -14.50, 43.22)
CIE-LCHlch(43.50, 45.59, 108.54°)
OKLaboklab(50.8% -0.0443 0.0951)
OKLCHoklch(50.8% 0.105 115)
XYZxyz(10.7731, 13.4965, 2.8480)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C17 #1F176C
analogous
#6C4917 #646C17 #396C17
triadic
#646C17 #17646C #6C1764
tetradic
#646C17 #176C49 #1F176C #6C1739
square
#646C17 #176C49 #1F176C #6C1739
split-complementary
#646C17 #17396C #49176C
monochromatic
#171905 #353A0C #646C17 #939E22 #C1D12C

Accessibility & contrast

On white

5.68
#646C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646C17
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C17#FFFFFF#000000##FFFFFF
##646C171.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#74671E
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c17;
/* rgb */ color: rgb(100, 108, 23);
/* oklch */ color: oklch(50.8% 0.105 115.0);
Tailwind
colors: {
  custom: {
    50: '#93965c',
    500: '#646c17',
    950: '#000000',
  },
}
SCSS
$custom: #646c17;
$custom-light: #93965c;
$custom-dark: #000000;
JSON
{
  "hex": "#646c17",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 65.647,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.10494,
    "h": 115
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#646C17
secondary
#463DA2
accent
#40E850
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646C17

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

Preview Lab → · Contrast checker → · Palette generator →

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