#646A19#646A19

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

Color values

HEX#646A19
RGBrgb(100, 106, 25)
HSLhsl(64, 62%, 26%)
HSVhsv(64, 76%, 42%)
CMYKcmyk(5.7%, 0%, 76.4%, 58.4%)
CIE-LABlab(42.90, -13.30, 41.90)
CIE-LCHlch(42.90, 43.96, 107.61°)
OKLaboklab(50.32% -0.0408 0.0927)
OKLCHoklch(50.32% 0.101 113.7)
XYZxyz(10.5853, 13.0878, 2.8881)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A19 #1F196A
analogous
#6A4719 #646A19 #3B6A19
triadic
#646A19 #19646A #6A1964
tetradic
#646A19 #196A47 #1F196A #6A193B
square
#646A19 #196A47 #1F196A #6A193B
split-complementary
#646A19 #193B6A #47196A
monochromatic
#171906 #35380D #646A19 #939C25 #C1CD30

Accessibility & contrast

On white

5.80
#646A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#646A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A19
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A19#FFFFFF#000000##FFFFFF
##646A191.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726509
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#6B635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a19;
/* rgb */ color: rgb(100, 106, 25);
/* oklch */ color: oklch(50.3% 0.101 113.7);
Tailwind
colors: {
  custom: {
    50: '#93945c',
    500: '#646a19',
    950: '#000000',
  },
}
SCSS
$custom: #646a19;
$custom-light: #93945c;
$custom-dark: #000000;
JSON
{
  "hex": "#646a19",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 64.444,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.10129,
    "h": 113.7
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#646A19
secondary
#463FA0
accent
#43E54F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A19

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

Preview Lab → · Contrast checker → · Palette generator →

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