#646B15#646B15

#646B15 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.5% C 0.105 H 114.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#646B15
RGBrgb(100, 107, 21)
HSLhsl(65, 67%, 25%)
HSVhsv(65, 80%, 42%)
CMYKcmyk(6.5%, 0%, 80.4%, 58%)
CIE-LABlab(43.18, -14.05, 43.63)
CIE-LCHlch(43.18, 45.84, 107.85°)
OKLaboklab(50.54% -0.0432 0.0956)
OKLCHoklch(50.54% 0.105 114.3)
XYZxyz(10.6489, 13.2791, 2.7115)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B15 #1C156B
analogous
#6B4715 #646B15 #396B15
triadic
#646B15 #15646B #6B1564
tetradic
#646B15 #156B47 #1C156B #6B1539
square
#646B15 #156B47 #1C156B #6B1539
split-complementary
#646B15 #15396B #47156B
monochromatic
#181A05 #34380B #646B15 #949E1F #C4D129

Accessibility & contrast

On white

5.74
#646B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#646B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B15
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B15#FFFFFF#000000##FFFFFF
##646B151.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#6B645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646b15;
/* rgb */ color: rgb(100, 107, 21);
/* oklch */ color: oklch(50.5% 0.105 114.3);
Tailwind
colors: {
  custom: {
    50: '#93955b',
    500: '#646b15',
    950: '#000000',
  },
}
SCSS
$custom: #646b15;
$custom-light: #93955b;
$custom-dark: #000000;
JSON
{
  "hex": "#646b15",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 64.884,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50537,
    "c": 0.10493,
    "h": 114.3
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#646B15
secondary
#433AA2
accent
#3EEA4C
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646B15

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

Preview Lab → · Contrast checker → · Palette generator →

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