#646D22#646D22

#646D22 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.1% C 0.098 H 115.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#646D22
RGBrgb(100, 109, 34)
HSLhsl(67, 52%, 28%)
HSVhsv(67, 69%, 43%)
CMYKcmyk(8.3%, 0%, 68.8%, 57.3%)
CIE-LABlab(43.89, -14.39, 39.13)
CIE-LCHlch(43.89, 41.69, 110.19°)
OKLaboklab(51.14% -0.0428 0.0885)
OKLCHoklch(51.14% 0.098 115.8)
XYZxyz(11.0132, 13.7623, 3.5893)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D22 #2B226D
analogous
#6D5022 #646D22 #3E6D22
triadic
#646D22 #22646D #6D2264
tetradic
#646D22 #226D50 #2B226D #6D223E
square
#646D22 #226D50 #2B226D #6D223E
split-complementary
#646D22 #223E6D #50226D
monochromatic
#151707 #393E13 #646D22 #8F9C31 #B5C545

Accessibility & contrast

On white

5.60
#646D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#646D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D22
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D22#FFFFFF#000000##FFFFFF
##646D221.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756718
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#6A675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d22;
/* rgb */ color: rgb(100, 109, 34);
/* oklch */ color: oklch(51.1% 0.098 115.8);
Tailwind
colors: {
  custom: {
    50: '#929662',
    500: '#646d22',
    950: '#000000',
  },
}
SCSS
$custom: #646d22;
$custom-light: #929662;
$custom-dark: #000000;
JSON
{
  "hex": "#646d22",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 34
  },
  "hsl": {
    "h": 67.2,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.09834,
    "h": 115.8
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#646D22
secondary
#554AA1
accent
#4CDC5D
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646D22

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

Preview Lab → · Contrast checker → · Palette generator →

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