#646E17#646E17

#646E17 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.107 H 116.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#646E17
RGBrgb(100, 110, 23)
HSLhsl(67, 65%, 26%)
HSVhsv(67, 79%, 43%)
CMYKcmyk(9.1%, 0%, 79.1%, 56.9%)
CIE-LABlab(44.12, -15.59, 43.80)
CIE-LCHlch(44.12, 46.49, 109.59°)
OKLaboklab(51.3% -0.0473 0.0964)
OKLCHoklch(51.3% 0.107 116.1)
XYZxyz(10.9864, 13.9232, 2.9191)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E17 #21176E
analogous
#6E4C17 #646E17 #386E17
triadic
#646E17 #17646E #6E1764
tetradic
#646E17 #176E4C #21176E #6E1738
square
#646E17 #176E4C #21176E #6E1738
split-complementary
#646E17 #17386E #4C176E
monochromatic
#171905 #363B0C #646E17 #92A122 #C0D32C

Accessibility & contrast

On white

5.55
#646E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#646E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E17
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E17#FFFFFF#000000##FFFFFF
##646E171.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766803
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#6B675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646e17;
/* rgb */ color: rgb(100, 110, 23);
/* oklch */ color: oklch(51.3% 0.107 116.1);
Tailwind
colors: {
  custom: {
    50: '#93975c',
    500: '#646e17',
    950: '#000000',
  },
}
SCSS
$custom: #646e17;
$custom-light: #93975c;
$custom-dark: #000000;
JSON
{
  "hex": "#646e17",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 66.897,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51296,
    "c": 0.10735,
    "h": 116.1
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#646E17
secondary
#493DA4
accent
#3FE853
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646E17

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

Preview Lab → · Contrast checker → · Palette generator →

#646E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva