#646316#646316

#646316 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.6% C 0.095 H 108.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#646316
RGBrgb(100, 99, 22)
HSLhsl(59, 64%, 24%)
HSVhsv(59, 78%, 39%)
CMYKcmyk(0%, 1%, 78%, 60.8%)
CIE-LABlab(40.72, -9.53, 40.98)
CIE-LCHlch(40.72, 42.07, 103.09°)
OKLaboklab(48.57% -0.0306 0.0902)
OKLCHoklch(48.57% 0.095 108.7)
XYZxyz(9.8626, 11.6912, 2.4960)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646316 #161764
analogous
#643C16 #646316 #3E6416
triadic
#646316 #166463 #631664
tetradic
#646316 #16643C #161764 #64163E
square
#646316 #16643C #161764 #64163E
split-complementary
#646316 #163E64 #3C1664
monochromatic
#191906 #32310B #646316 #969521 #C8C62C

Accessibility & contrast

On white

6.29
#646316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#646316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646316
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646316#FFFFFF#000000##FFFFFF
##6463161.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F06
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#6C5C54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #646316;
/* rgb */ color: rgb(100, 99, 22);
/* oklch */ color: oklch(48.6% 0.095 108.7);
Tailwind
colors: {
  custom: {
    50: '#938f5a',
    500: '#646316',
    950: '#000000',
  },
}
SCSS
$custom: #646316;
$custom-light: #938f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#646316",
  "rgb": {
    "r": 100,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 59.231,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.09524,
    "h": 108.7
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#646316
secondary
#3B3C9B
accent
#43E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646316

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

Preview Lab → · Contrast checker → · Palette generator →

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