#646F17#646F17

#646F17 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.5% C 0.109 H 116.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#646F17
RGBrgb(100, 111, 23)
HSLhsl(68, 66%, 26%)
HSVhsv(68, 79%, 44%)
CMYKcmyk(9.9%, 0%, 79.3%, 56.5%)
CIE-LABlab(44.43, -16.13, 44.09)
CIE-LCHlch(44.43, 46.95, 110.09°)
OKLaboklab(51.55% -0.0488 0.097)
OKLCHoklch(51.55% 0.109 116.7)
XYZxyz(11.0949, 14.1402, 2.9553)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F17 #22176F
analogous
#6F4E17 #646F17 #386F17
triadic
#646F17 #17646F #6F1764
tetradic
#646F17 #176F4E #22176F #6F1738
square
#646F17 #176F4E #22176F #6F1738
split-complementary
#646F17 #17386F #4E176F
monochromatic
#171905 #363C0C #646F17 #92A222 #BFD32D

Accessibility & contrast

On white

5.49
#646F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#646F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F17
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F17#FFFFFF#000000##FFFFFF
##646F171.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776903
Deuteranopia (green-blind)
#766A1F
Tritanopia (blue-blind)
#6B685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f17;
/* rgb */ color: rgb(100, 111, 23);
/* oklch */ color: oklch(51.5% 0.109 116.7);
Tailwind
colors: {
  custom: {
    50: '#93985c',
    500: '#646f17',
    950: '#000000',
  },
}
SCSS
$custom: #646f17;
$custom-light: #93985c;
$custom-dark: #000000;
JSON
{
  "hex": "#646f17",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 67.5,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51546,
    "c": 0.10856,
    "h": 116.7
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#646F17
secondary
#4A3DA5
accent
#3FE954
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646F17

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

Preview Lab → · Contrast checker → · Palette generator →

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