#646A18#646A18

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

Color values

HEX#646A18
RGBrgb(100, 106, 24)
HSLhsl(64, 63%, 25%)
HSVhsv(64, 77%, 42%)
CMYKcmyk(5.7%, 0%, 77.4%, 58.4%)
CIE-LABlab(42.89, -13.35, 42.27)
CIE-LCHlch(42.89, 44.33, 107.53°)
OKLaboklab(50.31% -0.041 0.0933)
OKLCHoklch(50.31% 0.102 113.7)
XYZxyz(10.5748, 13.0836, 2.8323)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A18 #1E186A
analogous
#6A4718 #646A18 #3B6A18
triadic
#646A18 #18646A #6A1864
tetradic
#646A18 #186A47 #1E186A #6A183B
square
#646A18 #186A47 #1E186A #6A183B
split-complementary
#646A18 #183B6A #47186A
monochromatic
#181906 #35380D #646A18 #939C23 #C2CE2F

Accessibility & contrast

On white

5.81
#646A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646A18
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A18#FFFFFF#000000##FFFFFF
##646A181.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726507
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#6B635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a18;
/* rgb */ color: rgb(100, 106, 24);
/* oklch */ color: oklch(50.3% 0.102 113.7);
Tailwind
colors: {
  custom: {
    50: '#93945c',
    500: '#646a18',
    950: '#000000',
  },
}
SCSS
$custom: #646a18;
$custom-light: #93945c;
$custom-dark: #000000;
JSON
{
  "hex": "#646a18",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 64.39,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.10194,
    "h": 113.7
  },
  "luminance": 0.13083
}

Semantic roles & 50–950 ramp

primary
#646A18
secondary
#453EA0
accent
#42E64E
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A18

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

Preview Lab → · Contrast checker → · Palette generator →

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