#646A13#646A13

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

Color values

HEX#646A13
RGBrgb(100, 106, 19)
HSLhsl(64, 70%, 25%)
HSVhsv(64, 82%, 42%)
CMYKcmyk(5.7%, 0%, 82.1%, 58.4%)
CIE-LABlab(42.86, -13.59, 44.02)
CIE-LCHlch(42.86, 46.07, 107.16°)
OKLaboklab(50.28% -0.0421 0.0961)
OKLCHoklch(50.28% 0.105 113.7)
XYZxyz(10.5274, 13.0646, 2.5831)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A13 #19136A
analogous
#6A4513 #646A13 #396A13
triadic
#646A13 #13646A #6A1364
tetradic
#646A13 #136A45 #19136A #6A1339
square
#646A13 #136A45 #19136A #6A1339
split-complementary
#646A13 #13396A #45136A
monochromatic
#181A05 #33360A #646A13 #959E1C #C6D226

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646A13#FFFFFF#000000##FFFFFF
##646A131.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)
#72661B
Tritanopia (blue-blind)
#6B635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a13;
/* rgb */ color: rgb(100, 106, 19);
/* oklch */ color: oklch(50.3% 0.105 113.7);
Tailwind
colors: {
  custom: {
    50: '#93945a',
    500: '#646a13',
    950: '#000000',
  },
}
SCSS
$custom: #646a13;
$custom-light: #93945a;
$custom-dark: #000000;
JSON
{
  "hex": "#646a13",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 64.138,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.10488,
    "h": 113.7
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#646A13
secondary
#3F38A1
accent
#3BEC48
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A13

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

Preview Lab → · Contrast checker → · Palette generator →

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