#646A15#646A15

#646A15 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.3% C 0.104 H 113.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#646A15
RGBrgb(100, 106, 21)
HSLhsl(64, 67%, 25%)
HSVhsv(64, 80%, 42%)
CMYKcmyk(5.7%, 0%, 80.2%, 58.4%)
CIE-LABlab(42.87, -13.50, 43.35)
CIE-LCHlch(42.87, 45.40, 107.30°)
OKLaboklab(50.29% -0.0417 0.095)
OKLCHoklch(50.29% 0.104 113.7)
XYZxyz(10.5452, 13.0718, 2.6769)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A15 #1B156A
analogous
#6A4515 #646A15 #3A6A15
triadic
#646A15 #15646A #6A1564
tetradic
#646A15 #156A45 #1B156A #6A153A
square
#646A15 #156A45 #1B156A #6A153A
split-complementary
#646A15 #153A6A #45156A
monochromatic
#181A05 #34370B #646A15 #949D1F #C4D029

Accessibility & contrast

On white

5.81
#646A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#646A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A15
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A15#FFFFFF#000000##FFFFFF
##646A151.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#6B635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a15;
/* rgb */ color: rgb(100, 106, 21);
/* oklch */ color: oklch(50.3% 0.104 113.7);
Tailwind
colors: {
  custom: {
    50: '#93945a',
    500: '#646a15',
    950: '#000000',
  },
}
SCSS
$custom: #646a15;
$custom-light: #93945a;
$custom-dark: #000000;
JSON
{
  "hex": "#646a15",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 64.235,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50289,
    "c": 0.10377,
    "h": 113.7
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#646A15
secondary
#413AA1
accent
#3EEA4A
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A15

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

Preview Lab → · Contrast checker → · Palette generator →

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