#646615#646615

#646615 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.3% C 0.099 H 111.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#646615
RGBrgb(100, 102, 21)
HSLhsl(61, 66%, 24%)
HSVhsv(61, 79%, 40%)
CMYKcmyk(2%, 0%, 79.4%, 60%)
CIE-LABlab(41.64, -11.27, 42.21)
CIE-LCHlch(41.64, 43.69, 104.96°)
OKLaboklab(49.3% -0.0355 0.0926)
OKLCHoklch(49.3% 0.099 111)
XYZxyz(10.1426, 12.2665, 2.5427)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646615 #171566
analogous
#664015 #646615 #3C6615
triadic
#646615 #156466 #661564
tetradic
#646615 #156640 #171566 #66153C
square
#646615 #156640 #171566 #66153C
split-complementary
#646615 #153C66 #401566
monochromatic
#191905 #32330B #646615 #96991F #C8CC2A

Accessibility & contrast

On white

6.08
#646615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#646615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646615
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646615#FFFFFF#000000##FFFFFF
##6466151.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6103
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#6B5F57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #646615;
/* rgb */ color: rgb(100, 102, 21);
/* oklch */ color: oklch(49.3% 0.099 111.0);
Tailwind
colors: {
  custom: {
    50: '#93915a',
    500: '#646615',
    950: '#000000',
  },
}
SCSS
$custom: #646615;
$custom-light: #93915a;
$custom-dark: #000000;
JSON
{
  "hex": "#646615",
  "rgb": {
    "r": 100,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 61.481,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.493,
    "c": 0.09918,
    "h": 111
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

primary
#646615
secondary
#3C3A9D
accent
#3FE943
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646615

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

Preview Lab → · Contrast checker → · Palette generator →

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