#646918#646918

#646918 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.1% C 0.101 H 113.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#646918
RGBrgb(100, 105, 24)
HSLhsl(64, 63%, 25%)
HSVhsv(64, 77%, 41%)
CMYKcmyk(4.8%, 0%, 77.1%, 58.8%)
CIE-LABlab(42.58, -12.80, 41.98)
CIE-LCHlch(42.58, 43.89, 106.95°)
OKLaboklab(50.06% -0.0395 0.0927)
OKLCHoklch(50.06% 0.101 113.1)
XYZxyz(10.4723, 12.8787, 2.7981)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646918 #1D1869
analogous
#694618 #646918 #3B6918
triadic
#646918 #186469 #691864
tetradic
#646918 #186946 #1D1869 #69183B
square
#646918 #186946 #1D1869 #69183B
split-complementary
#646918 #183B69 #461869
monochromatic
#181906 #35370D #646918 #939B23 #C3CD2F

Accessibility & contrast

On white

5.87
#646918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#646918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646918
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646918#FFFFFF#000000##FFFFFF
##6469181.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716408
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#6B6259
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646918;
/* rgb */ color: rgb(100, 105, 24);
/* oklch */ color: oklch(50.1% 0.101 113.1);
Tailwind
colors: {
  custom: {
    50: '#93935c',
    500: '#646918',
    950: '#000000',
  },
}
SCSS
$custom: #646918;
$custom-light: #93935c;
$custom-dark: #000000;
JSON
{
  "hex": "#646918",
  "rgb": {
    "r": 100,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 63.704,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.10076,
    "h": 113.1
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#646918
secondary
#443E9F
accent
#42E64C
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646918

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

Preview Lab → · Contrast checker → · Palette generator →

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