#646A22#646A22

#646A22 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.095 H 113.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#646A22
RGBrgb(100, 106, 34)
HSLhsl(65, 51%, 27%)
HSVhsv(65, 68%, 42%)
CMYKcmyk(5.7%, 0%, 67.9%, 58.4%)
CIE-LABlab(42.96, -12.74, 38.16)
CIE-LCHlch(42.96, 40.23, 108.45°)
OKLaboklab(50.39% -0.0382 0.0865)
OKLCHoklch(50.39% 0.095 113.8)
XYZxyz(10.6986, 13.1331, 3.4844)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A22 #28226A
analogous
#6A4C22 #646A22 #406A22
triadic
#646A22 #22646A #6A2264
tetradic
#646A22 #226A4C #28226A #6A2240
square
#646A22 #226A4C #28226A #6A2240
split-complementary
#646A22 #22406A #4C226A
monochromatic
#161707 #383C13 #646A22 #909831 #B8C344

Accessibility & contrast

On white

5.79
#646A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#646A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A22
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A22#FFFFFF#000000##FFFFFF
##646A221.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726518
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#6B645B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a22;
/* rgb */ color: rgb(100, 106, 34);
/* oklch */ color: oklch(50.4% 0.095 113.8);
Tailwind
colors: {
  custom: {
    50: '#929461',
    500: '#646a22',
    950: '#000000',
  },
}
SCSS
$custom: #646a22;
$custom-light: #929461;
$custom-dark: #000000;
JSON
{
  "hex": "#646a22",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 65,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50392,
    "c": 0.09455,
    "h": 113.8
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#646A22
secondary
#514A9E
accent
#4DDB59
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646A22

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

Preview Lab → · Contrast checker → · Palette generator →

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