#646618#646618

#646618 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.3% C 0.097 H 111.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#646618
RGBrgb(100, 102, 24)
HSLhsl(62, 62%, 25%)
HSVhsv(62, 76%, 40%)
CMYKcmyk(2%, 0%, 76.5%, 60%)
CIE-LABlab(41.66, -11.12, 41.10)
CIE-LCHlch(41.66, 42.58, 105.15°)
OKLaboklab(49.32% -0.0348 0.0908)
OKLCHoklch(49.32% 0.097 111)
XYZxyz(10.1721, 12.2783, 2.6981)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646618 #1A1866
analogous
#664118 #646618 #3D6618
triadic
#646618 #186466 #661864
tetradic
#646618 #186641 #1A1866 #66183D
square
#646618 #186641 #1A1866 #66183D
split-complementary
#646618 #183D66 #411866
monochromatic
#181906 #33340C #646618 #959824 #C5C92F

Accessibility & contrast

On white

6.08
#646618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#646618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646618
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646618#FFFFFF#000000##FFFFFF
##6466181.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6109
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#6B5F57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #646618;
/* rgb */ color: rgb(100, 102, 24);
/* oklch */ color: oklch(49.3% 0.097 111.0);
Tailwind
colors: {
  custom: {
    50: '#93915b',
    500: '#646618',
    950: '#000000',
  },
}
SCSS
$custom: #646618;
$custom-light: #93915b;
$custom-dark: #000000;
JSON
{
  "hex": "#646618",
  "rgb": {
    "r": 100,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 61.538,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49321,
    "c": 0.09728,
    "h": 111
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#646618
secondary
#403E9C
accent
#43E547
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646618

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

Preview Lab → · Contrast checker → · Palette generator →

#646618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva