#646815#646815

#646815 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.8% C 0.101 H 112.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#646815
RGBrgb(100, 104, 21)
HSLhsl(63, 66%, 25%)
HSVhsv(63, 80%, 41%)
CMYKcmyk(3.8%, 0%, 79.8%, 59.2%)
CIE-LABlab(42.25, -12.39, 42.78)
CIE-LCHlch(42.25, 44.54, 106.15°)
OKLaboklab(49.79% -0.0386 0.0938)
OKLCHoklch(49.79% 0.101 112.4)
XYZxyz(10.3415, 12.6643, 2.6090)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646815 #191568
analogous
#684315 #646815 #3A6815
triadic
#646815 #156468 #681564
tetradic
#646815 #156843 #191568 #68153A
square
#646815 #156843 #191568 #68153A
split-complementary
#646815 #153A68 #431568
monochromatic
#181905 #33350B #646815 #959B1F #C6CE2A

Accessibility & contrast

On white

5.94
#646815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#646815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646815
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646815#FFFFFF#000000##FFFFFF
##6468151.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646815;
/* rgb */ color: rgb(100, 104, 21);
/* oklch */ color: oklch(49.8% 0.101 112.4);
Tailwind
colors: {
  custom: {
    50: '#93925a',
    500: '#646815',
    950: '#000000',
  },
}
SCSS
$custom: #646815;
$custom-light: #93925a;
$custom-dark: #000000;
JSON
{
  "hex": "#646815",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 62.892,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49793,
    "c": 0.10145,
    "h": 112.4
  },
  "luminance": 0.12664
}

Semantic roles & 50–950 ramp

primary
#646815
secondary
#3F3A9F
accent
#3EE947
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #646815

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

Preview Lab → · Contrast checker → · Palette generator →

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