#646515#646515

#646515 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.1% C 0.098 H 110.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#646515
RGBrgb(100, 101, 21)
HSLhsl(61, 66%, 24%)
HSVhsv(61, 79%, 40%)
CMYKcmyk(1%, 0%, 79.2%, 60.4%)
CIE-LABlab(41.33, -10.71, 41.92)
CIE-LCHlch(41.33, 43.27, 104.33°)
OKLaboklab(49.05% -0.034 0.092)
OKLCHoklch(49.05% 0.098 110.3)
XYZxyz(10.0449, 12.0711, 2.5101)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646515 #161565
analogous
#653E15 #646515 #3C6515
triadic
#646515 #156465 #651564
tetradic
#646515 #15653E #161565 #65153C
square
#646515 #15653E #161565 #65153C
split-complementary
#646515 #153C65 #3E1565
monochromatic
#191905 #32320A #646515 #969820 #C8CA2A

Accessibility & contrast

On white

6.15
#646515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#646515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646515
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646515#FFFFFF#000000##FFFFFF
##6465151.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6004
Deuteranopia (green-blind)
#6E631C
Tritanopia (blue-blind)
#6C5E56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646515;
/* rgb */ color: rgb(100, 101, 21);
/* oklch */ color: oklch(49.1% 0.098 110.3);
Tailwind
colors: {
  custom: {
    50: '#93905a',
    500: '#646515',
    950: '#000000',
  },
}
SCSS
$custom: #646515;
$custom-light: #93905a;
$custom-dark: #000000;
JSON
{
  "hex": "#646515",
  "rgb": {
    "r": 100,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 60.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49054,
    "c": 0.09806,
    "h": 110.3
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#646515
secondary
#3B3A9C
accent
#3FE941
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646515

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

Preview Lab → · Contrast checker → · Palette generator →

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