#646A14#646A14

#646A14 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.3% C 0.104 H 113.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#646A14
RGBrgb(100, 106, 20)
HSLhsl(64, 68%, 25%)
HSVhsv(64, 81%, 42%)
CMYKcmyk(5.7%, 0%, 81.1%, 58.4%)
CIE-LABlab(42.87, -13.54, 43.69)
CIE-LCHlch(42.87, 45.74, 107.22°)
OKLaboklab(50.28% -0.0419 0.0955)
OKLCHoklch(50.28% 0.104 113.7)
XYZxyz(10.5362, 13.0681, 2.6291)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A14 #1A146A
analogous
#6A4514 #646A14 #396A14
triadic
#646A14 #14646A #6A1464
tetradic
#646A14 #146A45 #1A146A #6A1439
square
#646A14 #146A45 #1A146A #6A1439
split-complementary
#646A14 #14396A #45146A
monochromatic
#181A05 #33370A #646A14 #959D1E #C5D127

Accessibility & contrast

On white

5.81
#646A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#646A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A14
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A14#FFFFFF#000000##FFFFFF
##646A141.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#6B635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a14;
/* rgb */ color: rgb(100, 106, 20);
/* oklch */ color: oklch(50.3% 0.104 113.7);
Tailwind
colors: {
  custom: {
    50: '#93945a',
    500: '#646a14',
    950: '#000000',
  },
}
SCSS
$custom: #646a14;
$custom-light: #93945a;
$custom-dark: #000000;
JSON
{
  "hex": "#646a14",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 64.186,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.10433,
    "h": 113.7
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

primary
#646A14
secondary
#4039A1
accent
#3DEB49
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A14

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

Preview Lab → · Contrast checker → · Palette generator →

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