#646218#646218

#646218 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.3% C 0.093 H 107.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#646218
RGBrgb(100, 98, 24)
HSLhsl(58, 61%, 24%)
HSVhsv(58, 76%, 39%)
CMYKcmyk(0%, 2%, 76%, 60.8%)
CIE-LABlab(40.43, -8.86, 39.92)
CIE-LCHlch(40.43, 40.89, 102.51°)
OKLaboklab(48.34% -0.0285 0.0884)
OKLCHoklch(48.34% 0.093 107.9)
XYZxyz(9.7885, 11.5110, 2.5702)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646218 #181A64
analogous
#643C18 #646218 #406418
triadic
#646218 #186462 #621864
tetradic
#646218 #18643C #181A64 #641840
square
#646218 #18643C #181A64 #641840
split-complementary
#646218 #184064 #3C1864
monochromatic
#191806 #33320C #646218 #959224 #C7C330

Accessibility & contrast

On white

6.36
#646218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#646218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646218
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646218#FFFFFF#000000##FFFFFF
##6462181.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0B
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#6C5B54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #646218;
/* rgb */ color: rgb(100, 98, 24);
/* oklch */ color: oklch(48.3% 0.093 107.9);
Tailwind
colors: {
  custom: {
    50: '#938e5b',
    500: '#646218',
    950: '#000000',
  },
}
SCSS
$custom: #646218;
$custom-light: #938e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#646218",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 58.421,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.09282,
    "h": 107.9
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#646218
secondary
#3E409A
accent
#48E443
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646218

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

Preview Lab → · Contrast checker → · Palette generator →

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