#646612#646612

#646612 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.3% C 0.101 H 111.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#646612
RGBrgb(100, 102, 18)
HSLhsl(61, 70%, 24%)
HSVhsv(61, 82%, 40%)
CMYKcmyk(2%, 0%, 82.4%, 60%)
CIE-LABlab(41.62, -11.41, 43.23)
CIE-LCHlch(41.62, 44.71, 104.78°)
OKLaboklab(49.28% -0.0362 0.0942)
OKLCHoklch(49.28% 0.101 111)
XYZxyz(10.1164, 12.2560, 2.4049)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646612 #141266
analogous
#663E12 #646612 #3A6612
triadic
#646612 #126466 #661264
tetradic
#646612 #12663E #141266 #66123A
square
#646612 #12663E #141266 #66123A
split-complementary
#646612 #123A66 #3E1266
monochromatic
#191A05 #313209 #646612 #979A1B #CACE24

Accessibility & contrast

On white

6.08
#646612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#646612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646612
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646612#FFFFFF#000000##FFFFFF
##6466121.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#6C5F57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #646612;
/* rgb */ color: rgb(100, 102, 18);
/* oklch */ color: oklch(49.3% 0.101 111.0);
Tailwind
colors: {
  custom: {
    50: '#939158',
    500: '#646612',
    950: '#000000',
  },
}
SCSS
$custom: #646612;
$custom-light: #939158;
$custom-dark: #000000;
JSON
{
  "hex": "#646612",
  "rgb": {
    "r": 100,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 61.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.10088,
    "h": 111
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#646612
secondary
#38369E
accent
#3BED3F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646612

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

Preview Lab → · Contrast checker → · Palette generator →

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