#646512#646512

#646512 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.0% C 0.100 H 110.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#646512
RGBrgb(100, 101, 18)
HSLhsl(61, 70%, 23%)
HSVhsv(61, 82%, 40%)
CMYKcmyk(1%, 0%, 82.2%, 60.4%)
CIE-LABlab(41.31, -10.85, 42.95)
CIE-LCHlch(41.31, 44.30, 104.17°)
OKLaboklab(49.04% -0.0346 0.0936)
OKLCHoklch(49.04% 0.1 110.3)
XYZxyz(10.0188, 12.0607, 2.3723)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646512 #131265
analogous
#653C12 #646512 #3A6512
triadic
#646512 #126465 #651264
tetradic
#646512 #12653C #131265 #65123A
square
#646512 #12653C #131265 #65123A
split-complementary
#646512 #123A65 #3C1265
monochromatic
#1A1A05 #313109 #646512 #97991B #CBCD25

Accessibility & contrast

On white

6.15
#646512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#646512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646512
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646512#FFFFFF#000000##FFFFFF
##6465121.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6E6319
Tritanopia (blue-blind)
#6C5E56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646512;
/* rgb */ color: rgb(100, 101, 18);
/* oklch */ color: oklch(49.0% 0.100 110.3);
Tailwind
colors: {
  custom: {
    50: '#939058',
    500: '#646512',
    950: '#000000',
  },
}
SCSS
$custom: #646512;
$custom-light: #939058;
$custom-dark: #000000;
JSON
{
  "hex": "#646512",
  "rgb": {
    "r": 100,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 60.723,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.49036,
    "c": 0.09978,
    "h": 110.3
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#646512
secondary
#37369D
accent
#3BED3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646512

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

Preview Lab → · Contrast checker → · Palette generator →

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