#646917#646917

#646917 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.1% C 0.101 H 113.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#646917
RGBrgb(100, 105, 23)
HSLhsl(64, 64%, 25%)
HSVhsv(64, 78%, 41%)
CMYKcmyk(4.8%, 0%, 78.1%, 58.8%)
CIE-LABlab(42.57, -12.85, 42.35)
CIE-LCHlch(42.57, 44.26, 106.88°)
OKLaboklab(50.05% -0.0397 0.0933)
OKLCHoklch(50.05% 0.101 113.1)
XYZxyz(10.4621, 12.8746, 2.7444)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646917 #1C1769
analogous
#694517 #646917 #3B6917
triadic
#646917 #176469 #691764
tetradic
#646917 #176945 #1C1769 #69173B
square
#646917 #176945 #1C1769 #69173B
split-complementary
#646917 #173B69 #451769
monochromatic
#181905 #34370C #646917 #949B22 #C4CD2D

Accessibility & contrast

On white

5.87
#646917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#646917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646917
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646917#FFFFFF#000000##FFFFFF
##6469171.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716406
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#6B6259
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646917;
/* rgb */ color: rgb(100, 105, 23);
/* oklch */ color: oklch(50.1% 0.101 113.1);
Tailwind
colors: {
  custom: {
    50: '#93935b',
    500: '#646917',
    950: '#000000',
  },
}
SCSS
$custom: #646917;
$custom-light: #93935b;
$custom-dark: #000000;
JSON
{
  "hex": "#646917",
  "rgb": {
    "r": 100,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 63.659,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.1014,
    "h": 113.1
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#646917
secondary
#433D9F
accent
#41E74B
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646917

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

Preview Lab → · Contrast checker → · Palette generator →

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