#646C15#646C15

#646C15 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.106 H 114.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#646C15
RGBrgb(100, 108, 21)
HSLhsl(66, 67%, 25%)
HSVhsv(66, 81%, 42%)
CMYKcmyk(7.4%, 0%, 80.6%, 57.6%)
CIE-LABlab(43.49, -14.59, 43.92)
CIE-LCHlch(43.49, 46.28, 108.38°)
OKLaboklab(50.79% -0.0447 0.0962)
OKLCHoklch(50.79% 0.106 114.9)
XYZxyz(10.7538, 13.4888, 2.7464)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C15 #1D156C
analogous
#6C4815 #646C15 #396C15
triadic
#646C15 #15646C #6C1564
tetradic
#646C15 #156C48 #1D156C #6C1539
square
#646C15 #156C48 #1D156C #6C1539
split-complementary
#646C15 #15396C #48156C
monochromatic
#181A05 #35390B #646C15 #939F1F #C3D229

Accessibility & contrast

On white

5.68
#646C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#646C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C15
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C15#FFFFFF#000000##FFFFFF
##646C151.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746601
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c15;
/* rgb */ color: rgb(100, 108, 21);
/* oklch */ color: oklch(50.8% 0.106 114.9);
Tailwind
colors: {
  custom: {
    50: '#93965b',
    500: '#646c15',
    950: '#000000',
  },
}
SCSS
$custom: #646c15;
$custom-light: #93965b;
$custom-dark: #000000;
JSON
{
  "hex": "#646c15",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 65.517,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.10612,
    "h": 114.9
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#646C15
secondary
#443AA3
accent
#3DEA4D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646C15

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

Preview Lab → · Contrast checker → · Palette generator →

#646C15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva