#646C19#646C19

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

Color values

HEX#646C19
RGBrgb(100, 108, 25)
HSLhsl(66, 62%, 26%)
HSVhsv(66, 77%, 42%)
CMYKcmyk(7.4%, 0%, 76.9%, 57.6%)
CIE-LABlab(43.51, -14.40, 42.49)
CIE-LCHlch(43.51, 44.86, 108.72°)
OKLaboklab(50.81% -0.0438 0.094)
OKLCHoklch(50.81% 0.104 115)
XYZxyz(10.7939, 13.5048, 2.9576)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C19 #21196C
analogous
#6C4A19 #646C19 #3A6C19
triadic
#646C19 #19646C #6C1964
tetradic
#646C19 #196C4A #21196C #6C193A
square
#646C19 #196C4A #21196C #6C193A
split-complementary
#646C19 #193A6C #4A196C
monochromatic
#171906 #363A0D #646C19 #929E25 #C0CF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646C19#FFFFFF#000000##FFFFFF
##646C191.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)
#746608
Deuteranopia (green-blind)
#746720
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c19;
/* rgb */ color: rgb(100, 108, 25);
/* oklch */ color: oklch(50.8% 0.104 115.0);
Tailwind
colors: {
  custom: {
    50: '#93965d',
    500: '#646c19',
    950: '#000000',
  },
}
SCSS
$custom: #646c19;
$custom-light: #93965d;
$custom-dark: #000000;
JSON
{
  "hex": "#646c19",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 65.783,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50812,
    "c": 0.10369,
    "h": 115
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#646C19
secondary
#493FA1
accent
#42E552
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646C19

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

Preview Lab → · Contrast checker → · Palette generator →

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