#646A11#646A11

#646A11 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.3% C 0.106 H 113.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#646A11
RGBrgb(100, 106, 17)
HSLhsl(64, 72%, 24%)
HSVhsv(64, 84%, 42%)
CMYKcmyk(5.7%, 0%, 84%, 58.4%)
CIE-LABlab(42.85, -13.67, 44.64)
CIE-LCHlch(42.85, 46.69, 107.02°)
OKLaboklab(50.27% -0.0425 0.097)
OKLCHoklch(50.27% 0.106 113.7)
XYZxyz(10.5111, 13.0581, 2.4970)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A11 #17116A
analogous
#6A4411 #646A11 #386A11
triadic
#646A11 #11646A #6A1164
tetradic
#646A11 #116A44 #17116A #6A1138
square
#646A11 #116A44 #17116A #6A1138
split-complementary
#646A11 #11386A #44116A
monochromatic
#191A04 #323509 #646A11 #969F19 #C8D322

Accessibility & contrast

On white

5.81
#646A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#646A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A11
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A11#FFFFFF#000000##FFFFFF
##646A111.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736400
Deuteranopia (green-blind)
#72661A
Tritanopia (blue-blind)
#6B635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a11;
/* rgb */ color: rgb(100, 106, 17);
/* oklch */ color: oklch(50.3% 0.106 113.7);
Tailwind
colors: {
  custom: {
    50: '#939459',
    500: '#646a11',
    950: '#000000',
  },
}
SCSS
$custom: #646a11;
$custom-light: #939459;
$custom-dark: #000000;
JSON
{
  "hex": "#646a11",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 64.045,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.50266,
    "c": 0.10591,
    "h": 113.7
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#646A11
secondary
#3C35A2
accent
#39EF45
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A11

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

Preview Lab → · Contrast checker → · Palette generator →

#646A11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva