#646717#646717

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

Color values

HEX#646717
RGBrgb(100, 103, 23)
HSLhsl(62, 63%, 25%)
HSVhsv(62, 78%, 40%)
CMYKcmyk(2.9%, 0%, 77.7%, 59.6%)
CIE-LABlab(41.96, -11.74, 41.77)
CIE-LCHlch(41.96, 43.38, 105.69°)
OKLaboklab(49.56% -0.0366 0.0921)
OKLCHoklch(49.56% 0.099 111.7)
XYZxyz(10.2608, 12.4719, 2.6773)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646717 #1A1767
analogous
#674217 #646717 #3C6717
triadic
#646717 #176467 #671764
tetradic
#646717 #176742 #1A1767 #67173C
square
#646717 #176742 #1A1767 #67173C
split-complementary
#646717 #173C67 #421767
monochromatic
#181906 #33350C #646717 #959922 #C5CB2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646717#FFFFFF#000000##FFFFFF
##6467171.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)
#6F6207
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#6B6058
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #646717;
/* rgb */ color: rgb(100, 103, 23);
/* oklch */ color: oklch(49.6% 0.099 111.7);
Tailwind
colors: {
  custom: {
    50: '#93925b',
    500: '#646717',
    950: '#000000',
  },
}
SCSS
$custom: #646717;
$custom-light: #93925b;
$custom-dark: #000000;
JSON
{
  "hex": "#646717",
  "rgb": {
    "r": 100,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 62.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.09907,
    "h": 111.7
  },
  "luminance": 0.12472
}

Semantic roles & 50–950 ramp

primary
#646717
secondary
#403D9D
accent
#41E747
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646717

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

Preview Lab → · Contrast checker → · Palette generator →

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