#646915#646915

#646915 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.0% C 0.103 H 113.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#646915
RGBrgb(100, 105, 21)
HSLhsl(64, 67%, 25%)
HSVhsv(64, 80%, 41%)
CMYKcmyk(4.8%, 0%, 80%, 58.8%)
CIE-LABlab(42.56, -12.95, 43.06)
CIE-LCHlch(42.56, 44.97, 106.73°)
OKLaboklab(50.04% -0.0402 0.0944)
OKLCHoklch(50.04% 0.103 113)
XYZxyz(10.4428, 12.8669, 2.6428)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646915 #1A1569
analogous
#694415 #646915 #3A6915
triadic
#646915 #156469 #691564
tetradic
#646915 #156944 #1A1569 #69153A
square
#646915 #156944 #1A1569 #69153A
split-complementary
#646915 #153A69 #441569
monochromatic
#181A05 #33360B #646915 #959C1F #C5CF29

Accessibility & contrast

On white

5.88
#646915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#646915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646915
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646915#FFFFFF#000000##FFFFFF
##6469151.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716402
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#6B6259
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646915;
/* rgb */ color: rgb(100, 105, 21);
/* oklch */ color: oklch(50.0% 0.103 113.0);
Tailwind
colors: {
  custom: {
    50: '#93935a',
    500: '#646915',
    950: '#000000',
  },
}
SCSS
$custom: #646915;
$custom-light: #93935a;
$custom-dark: #000000;
JSON
{
  "hex": "#646915",
  "rgb": {
    "r": 100,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 63.571,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50041,
    "c": 0.1026,
    "h": 113
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#646915
secondary
#403AA0
accent
#3EEA48
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646915

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

Preview Lab → · Contrast checker → · Palette generator →

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