#646816#646816

#646816 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.8% C 0.101 H 112.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#646816
RGBrgb(100, 104, 22)
HSLhsl(63, 65%, 25%)
HSVhsv(63, 79%, 41%)
CMYKcmyk(3.8%, 0%, 78.8%, 59.2%)
CIE-LABlab(42.26, -12.34, 42.42)
CIE-LCHlch(42.26, 44.18, 106.22°)
OKLaboklab(49.8% -0.0384 0.0933)
OKLCHoklch(49.8% 0.101 112.4)
XYZxyz(10.3510, 12.6681, 2.6588)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646816 #1A1668
analogous
#684316 #646816 #3B6816
triadic
#646816 #166468 #681664
tetradic
#646816 #166843 #1A1668 #68163B
square
#646816 #166843 #1A1668 #68163B
split-complementary
#646816 #163B68 #431668
monochromatic
#181905 #33350B #646816 #959B21 #C5CD2B

Accessibility & contrast

On white

5.94
#646816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#646816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646816
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646816#FFFFFF#000000##FFFFFF
##6468161.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706304
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#6B6159
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646816;
/* rgb */ color: rgb(100, 104, 22);
/* oklch */ color: oklch(49.8% 0.101 112.4);
Tailwind
colors: {
  custom: {
    50: '#93925b',
    500: '#646816',
    950: '#000000',
  },
}
SCSS
$custom: #646816;
$custom-light: #93925b;
$custom-dark: #000000;
JSON
{
  "hex": "#646816",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 62.927,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.498,
    "c": 0.10085,
    "h": 112.4
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#646816
secondary
#403B9F
accent
#40E848
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #646816

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

Preview Lab → · Contrast checker → · Palette generator →

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