#646716#646716

#646716 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.6% C 0.100 H 111.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#646716
RGBrgb(100, 103, 22)
HSLhsl(62, 65%, 25%)
HSVhsv(62, 79%, 40%)
CMYKcmyk(2.9%, 0%, 78.6%, 59.6%)
CIE-LABlab(41.95, -11.79, 42.13)
CIE-LCHlch(41.95, 43.75, 105.63°)
OKLaboklab(49.55% -0.0368 0.0926)
OKLCHoklch(49.55% 0.1 111.7)
XYZxyz(10.2509, 12.4680, 2.6255)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646716 #191667
analogous
#674216 #646716 #3C6716
triadic
#646716 #166467 #671664
tetradic
#646716 #166742 #191667 #67163C
square
#646716 #166742 #191667 #67163C
split-complementary
#646716 #163C67 #421667
monochromatic
#181905 #33350B #646716 #959921 #C6CC2C

Accessibility & contrast

On white

6.01
#646716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#646716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646716
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646716#FFFFFF#000000##FFFFFF
##6467161.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706205
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#6B6058
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #646716;
/* rgb */ color: rgb(100, 103, 22);
/* oklch */ color: oklch(49.6% 0.100 111.7);
Tailwind
colors: {
  custom: {
    50: '#93925a',
    500: '#646716',
    950: '#000000',
  },
}
SCSS
$custom: #646716;
$custom-light: #93925a;
$custom-dark: #000000;
JSON
{
  "hex": "#646716",
  "rgb": {
    "r": 100,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 62.222,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.0997,
    "h": 111.7
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#646716
secondary
#3F3B9E
accent
#40E846
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646716

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

Preview Lab → · Contrast checker → · Palette generator →

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