#646B19#646B19

#646B19 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.102 H 114.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#646B19
RGBrgb(100, 107, 25)
HSLhsl(65, 62%, 26%)
HSVhsv(65, 77%, 42%)
CMYKcmyk(6.5%, 0%, 76.6%, 58%)
CIE-LABlab(43.20, -13.85, 42.19)
CIE-LCHlch(43.20, 44.41, 108.17°)
OKLaboklab(50.56% -0.0423 0.0934)
OKLCHoklch(50.56% 0.102 114.4)
XYZxyz(10.6890, 13.2951, 2.9226)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B19 #20196B
analogous
#6B4919 #646B19 #3B6B19
triadic
#646B19 #19646B #6B1964
tetradic
#646B19 #196B49 #20196B #6B193B
square
#646B19 #196B49 #20196B #6B193B
split-complementary
#646B19 #193B6B #49196B
monochromatic
#171906 #36390D #646B19 #929D25 #C1CE30

Accessibility & contrast

On white

5.74
#646B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#646B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B19
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B19#FFFFFF#000000##FFFFFF
##646B191.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736509
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#6B645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646b19;
/* rgb */ color: rgb(100, 107, 25);
/* oklch */ color: oklch(50.6% 0.102 114.4);
Tailwind
colors: {
  custom: {
    50: '#93955c',
    500: '#646b19',
    950: '#000000',
  },
}
SCSS
$custom: #646b19;
$custom-light: #93955c;
$custom-dark: #000000;
JSON
{
  "hex": "#646b19",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 25
  },
  "hsl": {
    "h": 65.122,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50564,
    "c": 0.10248,
    "h": 114.4
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#646B19
secondary
#483FA1
accent
#43E550
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646B19

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

Preview Lab → · Contrast checker → · Palette generator →

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