#646E22#646E22

#646E22 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.100 H 116.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#646E22
RGBrgb(100, 110, 34)
HSLhsl(68, 53%, 28%)
HSVhsv(68, 69%, 43%)
CMYKcmyk(9.1%, 0%, 69.1%, 56.9%)
CIE-LABlab(44.20, -14.93, 39.45)
CIE-LCHlch(44.20, 42.18, 110.73°)
OKLaboklab(51.38% -0.0444 0.0892)
OKLCHoklch(51.38% 0.1 116.4)
XYZxyz(11.1204, 13.9768, 3.6250)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E22 #2C226E
analogous
#6E5222 #646E22 #3E6E22
triadic
#646E22 #22646E #6E2264
tetradic
#646E22 #226E52 #2C226E #6E223E
square
#646E22 #226E52 #2C226E #6E223E
split-complementary
#646E22 #223E6E #52226E
monochromatic
#151707 #393F14 #646E22 #8E9D30 #B5C545

Accessibility & contrast

On white

5.53
#646E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#646E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E22
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E22#FFFFFF#000000##FFFFFF
##646E221.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766817
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#6A685F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646e22;
/* rgb */ color: rgb(100, 110, 34);
/* oklch */ color: oklch(51.4% 0.100 116.4);
Tailwind
colors: {
  custom: {
    50: '#929762',
    500: '#646e22',
    950: '#000000',
  },
}
SCSS
$custom: #646e22;
$custom-light: #929762;
$custom-dark: #000000;
JSON
{
  "hex": "#646e22",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 34
  },
  "hsl": {
    "h": 67.895,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.09963,
    "h": 116.4
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#646E22
secondary
#564AA1
accent
#4CDC5F
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646E22

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

Preview Lab → · Contrast checker → · Palette generator →

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