#646B22#646B22

#646B22 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.096 H 114.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#646B22
RGBrgb(100, 107, 34)
HSLhsl(66, 52%, 28%)
HSVhsv(66, 68%, 42%)
CMYKcmyk(6.5%, 0%, 68.2%, 58%)
CIE-LABlab(43.27, -13.29, 38.49)
CIE-LCHlch(43.27, 40.72, 109.05°)
OKLaboklab(50.64% -0.0398 0.0872)
OKLCHoklch(50.64% 0.096 114.5)
XYZxyz(10.8022, 13.3404, 3.5190)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B22 #29226B
analogous
#6B4D22 #646B22 #406B22
triadic
#646B22 #22646B #6B2264
tetradic
#646B22 #226B4D #29226B #6B2240
square
#646B22 #226B4D #29226B #6B2240
split-complementary
#646B22 #22406B #4D226B
monochromatic
#161707 #393D13 #646B22 #8F9931 #B7C444

Accessibility & contrast

On white

5.73
#646B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#646B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B22
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B22#FFFFFF#000000##FFFFFF
##646B221.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736618
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646b22;
/* rgb */ color: rgb(100, 107, 34);
/* oklch */ color: oklch(50.6% 0.096 114.5);
Tailwind
colors: {
  custom: {
    50: '#929561',
    500: '#646b22',
    950: '#000000',
  },
}
SCSS
$custom: #646b22;
$custom-light: #929561;
$custom-dark: #000000;
JSON
{
  "hex": "#646b22",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 65.753,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.0958,
    "h": 114.5
  },
  "luminance": 0.1334
}

Semantic roles & 50–950 ramp

primary
#646B22
secondary
#524A9F
accent
#4DDB5A
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646B22

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

Preview Lab → · Contrast checker → · Palette generator →

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