#646C14#646C14

#646C14 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#646C14
RGBrgb(100, 108, 20)
HSLhsl(65, 69%, 25%)
HSVhsv(65, 81%, 42%)
CMYKcmyk(7.4%, 0%, 81.5%, 57.6%)
CIE-LABlab(43.49, -14.64, 44.25)
CIE-LCHlch(43.49, 46.61, 108.31°)
OKLaboklab(50.78% -0.0449 0.0967)
OKLCHoklch(50.78% 0.107 114.9)
XYZxyz(10.7447, 13.4852, 2.6986)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C14 #1C146C
analogous
#6C4814 #646C14 #386C14
triadic
#646C14 #14646C #6C1464
tetradic
#646C14 #146C48 #1C146C #6C1438
square
#646C14 #146C48 #1C146C #6C1438
split-complementary
#646C14 #14386C #48146C
monochromatic
#181A05 #34380A #646C14 #94A01E #C4D327

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646C14#FFFFFF#000000##FFFFFF
##646C141.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)
#74671C
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c14;
/* rgb */ color: rgb(100, 108, 20);
/* oklch */ color: oklch(50.8% 0.107 114.9);
Tailwind
colors: {
  custom: {
    50: '#93965a',
    500: '#646c14',
    950: '#000000',
  },
}
SCSS
$custom: #646c14;
$custom-light: #93965a;
$custom-dark: #000000;
JSON
{
  "hex": "#646c14",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 65.455,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.10667,
    "h": 114.9
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#646C14
secondary
#4339A3
accent
#3CEC4C
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646C14

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

Preview Lab → · Contrast checker → · Palette generator →

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