#646D19#646D19

#646D19 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.105 H 115.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#646D19
RGBrgb(100, 109, 25)
HSLhsl(66, 63%, 26%)
HSVhsv(66, 77%, 43%)
CMYKcmyk(8.3%, 0%, 77.1%, 57.3%)
CIE-LABlab(43.82, -14.94, 42.79)
CIE-LCHlch(43.82, 45.32, 109.25°)
OKLaboklab(51.06% -0.0453 0.0946)
OKLCHoklch(51.06% 0.105 115.6)
XYZxyz(10.8999, 13.7170, 2.9930)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D19 #22196D
analogous
#6D4C19 #646D19 #3A6D19
triadic
#646D19 #19646D #6D1964
tetradic
#646D19 #196D4C #22196D #6D193A
square
#646D19 #196D4C #22196D #6D193A
split-complementary
#646D19 #193A6D #4C196D
monochromatic
#171906 #363B0E #646D19 #929F24 #BFD031

Accessibility & contrast

On white

5.61
#646D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#646D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D19
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D19#FFFFFF#000000##FFFFFF
##646D191.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756708
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d19;
/* rgb */ color: rgb(100, 109, 25);
/* oklch */ color: oklch(51.1% 0.105 115.6);
Tailwind
colors: {
  custom: {
    50: '#93965d',
    500: '#646d19',
    950: '#000000',
  },
}
SCSS
$custom: #646d19;
$custom-light: #93965d;
$custom-dark: #000000;
JSON
{
  "hex": "#646d19",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 66.429,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51061,
    "c": 0.1049,
    "h": 115.6
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

primary
#646D19
secondary
#4A3FA2
accent
#42E654
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646D19

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

Preview Lab → · Contrast checker → · Palette generator →

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