#646819#646819

#646819 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.8% C 0.099 H 112.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#646819
RGBrgb(100, 104, 25)
HSLhsl(63, 61%, 25%)
HSVhsv(63, 76%, 41%)
CMYKcmyk(3.8%, 0%, 76%, 59.2%)
CIE-LABlab(42.28, -12.19, 41.30)
CIE-LCHlch(42.28, 43.06, 106.44°)
OKLaboklab(49.82% -0.0377 0.0915)
OKLCHoklch(49.82% 0.099 112.4)
XYZxyz(10.3816, 12.6804, 2.8202)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646819 #1D1968
analogous
#684419 #646819 #3C6819
triadic
#646819 #196468 #681964
tetradic
#646819 #196844 #1D1968 #68193C
square
#646819 #196844 #1D1968 #68193C
split-complementary
#646819 #193C68 #441968
monochromatic
#181906 #35370D #646819 #939925 #C3CB31

Accessibility & contrast

On white

5.94
#646819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#646819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646819
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646819#FFFFFF#000000##FFFFFF
##6468191.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630A
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#6B6159
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646819;
/* rgb */ color: rgb(100, 104, 25);
/* oklch */ color: oklch(49.8% 0.099 112.4);
Tailwind
colors: {
  custom: {
    50: '#93935c',
    500: '#646819',
    950: '#000000',
  },
}
SCSS
$custom: #646819;
$custom-light: #93935c;
$custom-dark: #000000;
JSON
{
  "hex": "#646819",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 63.038,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.09893,
    "h": 112.4
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#646819
secondary
#443F9E
accent
#43E44C
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #646819

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

Preview Lab → · Contrast checker → · Palette generator →

#646819 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva