#646D17#646D17

#646D17 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.0% C 0.106 H 115.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#646D17
RGBrgb(100, 109, 23)
HSLhsl(66, 65%, 26%)
HSVhsv(66, 79%, 43%)
CMYKcmyk(8.3%, 0%, 78.9%, 57.3%)
CIE-LABlab(43.81, -15.04, 43.51)
CIE-LCHlch(43.81, 46.04, 109.07°)
OKLaboklab(51.05% -0.0458 0.0958)
OKLCHoklch(51.05% 0.106 115.6)
XYZxyz(10.8791, 13.7086, 2.8834)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D17 #20176D
analogous
#6D4B17 #646D17 #396D17
triadic
#646D17 #17646D #6D1764
tetradic
#646D17 #176D4B #20176D #6D1739
square
#646D17 #176D4B #20176D #6D1739
split-complementary
#646D17 #17396D #4B176D
monochromatic
#171905 #363A0C #646D17 #92A022 #C1D22C

Accessibility & contrast

On white

5.61
#646D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#646D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D17
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D17#FFFFFF#000000##FFFFFF
##646D171.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756704
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d17;
/* rgb */ color: rgb(100, 109, 23);
/* oklch */ color: oklch(51.0% 0.106 115.6);
Tailwind
colors: {
  custom: {
    50: '#93965c',
    500: '#646d17',
    950: '#000000',
  },
}
SCSS
$custom: #646d17;
$custom-light: #93965c;
$custom-dark: #000000;
JSON
{
  "hex": "#646d17",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 66.279,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51047,
    "c": 0.10614,
    "h": 115.6
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#646D17
secondary
#483DA3
accent
#40E851
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646D17

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

Preview Lab → · Contrast checker → · Palette generator →

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