#646C13#646C13

#646C13 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.107 H 114.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#646C13
RGBrgb(100, 108, 19)
HSLhsl(65, 70%, 25%)
HSVhsv(65, 82%, 42%)
CMYKcmyk(7.4%, 0%, 82.4%, 57.6%)
CIE-LABlab(43.48, -14.68, 44.57)
CIE-LCHlch(43.48, 46.93, 108.23°)
OKLaboklab(50.77% -0.0451 0.0972)
OKLCHoklch(50.77% 0.107 114.9)
XYZxyz(10.7360, 13.4817, 2.6526)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C13 #1B136C
analogous
#6C4713 #646C13 #386C13
triadic
#646C13 #13646C #6C1364
tetradic
#646C13 #136C47 #1B136C #6C1338
square
#646C13 #136C47 #1B136C #6C1338
split-complementary
#646C13 #13386C #47136C
monochromatic
#181A05 #34380A #646C13 #94A01C #C4D425

Accessibility & contrast

On white

5.68
#646C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#646C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C13
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C13#FFFFFF#000000##FFFFFF
##646C131.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#74671B
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c13;
/* rgb */ color: rgb(100, 108, 19);
/* oklch */ color: oklch(50.8% 0.107 114.9);
Tailwind
colors: {
  custom: {
    50: '#93965a',
    500: '#646c13',
    950: '#000000',
  },
}
SCSS
$custom: #646c13;
$custom-light: #93965a;
$custom-dark: #000000;
JSON
{
  "hex": "#646c13",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 19
  },
  "hsl": {
    "h": 65.393,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.10721,
    "h": 114.9
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#646C13
secondary
#4138A3
accent
#3BED4B
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646C13

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

Preview Lab → · Contrast checker → · Palette generator →

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