#646418#646418

#646418 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.8% C 0.095 H 109.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#646418
RGBrgb(100, 100, 24)
HSLhsl(60, 61%, 24%)
HSVhsv(60, 76%, 39%)
CMYKcmyk(0%, 0%, 76%, 60.8%)
CIE-LABlab(41.04, -10.00, 40.51)
CIE-LCHlch(41.04, 41.72, 103.86°)
OKLaboklab(48.83% -0.0316 0.0896)
OKLCHoklch(48.83% 0.095 109.5)
XYZxyz(9.9779, 11.8899, 2.6334)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646418 #181864
analogous
#643E18 #646418 #3E6418
triadic
#646418 #186464 #641864
tetradic
#646418 #18643E #181864 #64183E
square
#646418 #18643E #181864 #64183E
split-complementary
#646418 #183E64 #3E1864
monochromatic
#191906 #33330C #646418 #959524 #C7C730

Accessibility & contrast

On white

6.22
#646418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#646418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646418
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646418#FFFFFF#000000##FFFFFF
##6464181.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600A
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#6C5D55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646418;
/* rgb */ color: rgb(100, 100, 24);
/* oklch */ color: oklch(48.8% 0.095 109.5);
Tailwind
colors: {
  custom: {
    50: '#938f5b',
    500: '#646418',
    950: '#000000',
  },
}
SCSS
$custom: #646418;
$custom-light: #938f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#646418",
  "rgb": {
    "r": 100,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4883,
    "c": 0.09503,
    "h": 109.5
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#646418
secondary
#3E3E9A
accent
#43E443
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646418

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

Preview Lab → · Contrast checker → · Palette generator →

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