#646818#646818

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

Color values

HEX#646818
RGBrgb(100, 104, 24)
HSLhsl(63, 63%, 25%)
HSVhsv(63, 77%, 41%)
CMYKcmyk(3.8%, 0%, 76.9%, 59.2%)
CIE-LABlab(42.27, -12.24, 41.69)
CIE-LCHlch(42.27, 43.45, 106.37°)
OKLaboklab(49.81% -0.0379 0.0921)
OKLCHoklch(49.81% 0.1 112.4)
XYZxyz(10.3710, 12.6761, 2.7644)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646818 #1C1868
analogous
#684418 #646818 #3C6818
triadic
#646818 #186468 #681864
tetradic
#646818 #186844 #1C1868 #68183C
square
#646818 #186844 #1C1868 #68183C
split-complementary
#646818 #183C68 #441868
monochromatic
#181906 #34360D #646818 #949A23 #C4CB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646818#FFFFFF#000000##FFFFFF
##6468181.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)
#706308
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#6B6159
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646818;
/* rgb */ color: rgb(100, 104, 24);
/* oklch */ color: oklch(49.8% 0.100 112.4);
Tailwind
colors: {
  custom: {
    50: '#93935c',
    500: '#646818',
    950: '#000000',
  },
}
SCSS
$custom: #646818;
$custom-light: #93935c;
$custom-dark: #000000;
JSON
{
  "hex": "#646818",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 63,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.09959,
    "h": 112.4
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#646818
secondary
#433E9E
accent
#42E64A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #646818

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

Preview Lab → · Contrast checker → · Palette generator →

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