#646C22#646C22

#646C22 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 50.9% C 0.097 H 115.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#646C22
RGBrgb(100, 108, 34)
HSLhsl(66, 52%, 28%)
HSVhsv(66, 69%, 42%)
CMYKcmyk(7.4%, 0%, 68.5%, 57.6%)
CIE-LABlab(43.58, -13.84, 38.81)
CIE-LCHlch(43.58, 41.20, 109.63°)
OKLaboklab(50.89% -0.0413 0.0878)
OKLCHoklch(50.89% 0.097 115.2)
XYZxyz(10.9071, 13.5501, 3.5539)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C22 #2A226C
analogous
#6C4F22 #646C22 #3F6C22
triadic
#646C22 #22646C #6C2264
tetradic
#646C22 #226C4F #2A226C #6C223F
square
#646C22 #226C4F #2A226C #6C223F
split-complementary
#646C22 #223F6C #4F226C
monochromatic
#161707 #393D13 #646C22 #8F9B31 #B6C444

Accessibility & contrast

On white

5.66
#646C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#646C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C22
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C22#FFFFFF#000000##FFFFFF
##646C221.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746618
Deuteranopia (green-blind)
#736827
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c22;
/* rgb */ color: rgb(100, 108, 34);
/* oklch */ color: oklch(50.9% 0.097 115.2);
Tailwind
colors: {
  custom: {
    50: '#929661',
    500: '#646c22',
    950: '#000000',
  },
}
SCSS
$custom: #646c22;
$custom-light: #929661;
$custom-dark: #000000;
JSON
{
  "hex": "#646c22",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 34
  },
  "hsl": {
    "h": 66.486,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50886,
    "c": 0.09707,
    "h": 115.2
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#646C22
secondary
#534AA0
accent
#4CDC5C
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646C22

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

Preview Lab → · Contrast checker → · Palette generator →

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