#646216#646216

#646216 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.3% C 0.094 H 107.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#646216
RGBrgb(100, 98, 22)
HSLhsl(58, 64%, 24%)
HSVhsv(58, 78%, 39%)
CMYKcmyk(0%, 2%, 78%, 60.8%)
CIE-LABlab(40.41, -8.96, 40.69)
CIE-LCHlch(40.41, 41.67, 102.42°)
OKLaboklab(48.33% -0.029 0.0896)
OKLCHoklch(48.33% 0.094 107.9)
XYZxyz(9.7684, 11.5029, 2.4646)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646216 #161864
analogous
#643B16 #646216 #3F6416
triadic
#646216 #166462 #621664
tetradic
#646216 #16643B #161864 #64163F
square
#646216 #16643B #161864 #64163F
split-complementary
#646216 #163F64 #3B1664
monochromatic
#191906 #32310B #646216 #969321 #C8C42C

Accessibility & contrast

On white

6.36
#646216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#646216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646216
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646216#FFFFFF#000000##FFFFFF
##6462161.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#6C5B53
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #646216;
/* rgb */ color: rgb(100, 98, 22);
/* oklch */ color: oklch(48.3% 0.094 107.9);
Tailwind
colors: {
  custom: {
    50: '#938e5a',
    500: '#646216',
    950: '#000000',
  },
}
SCSS
$custom: #646216;
$custom-light: #938e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#646216",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 58.462,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.09416,
    "h": 107.9
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#646216
secondary
#3B3E9B
accent
#45E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646216

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

Preview Lab → · Contrast checker → · Palette generator →

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