#646F22#646F22

#646F22 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.101 H 117.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#646F22
RGBrgb(100, 111, 34)
HSLhsl(69, 53%, 28%)
HSVhsv(69, 69%, 44%)
CMYKcmyk(9.9%, 0%, 69.4%, 56.5%)
CIE-LABlab(44.51, -15.48, 39.77)
CIE-LCHlch(44.51, 42.68, 111.26°)
OKLaboklab(51.63% -0.0459 0.0899)
OKLCHoklch(51.63% 0.101 117)
XYZxyz(11.2289, 14.1938, 3.6612)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F22 #2D226F
analogous
#6F5322 #646F22 #3D6F22
triadic
#646F22 #22646F #6F2264
tetradic
#646F22 #226F53 #2D226F #6F223D
square
#646F22 #226F53 #2D226F #6F223D
split-complementary
#646F22 #223D6F #53226F
monochromatic
#151707 #3A4014 #646F22 #8E9E30 #B4C645

Accessibility & contrast

On white

5.47
#646F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#646F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F22
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F22#FFFFFF#000000##FFFFFF
##646F221.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#6A695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f22;
/* rgb */ color: rgb(100, 111, 34);
/* oklch */ color: oklch(51.6% 0.101 117.0);
Tailwind
colors: {
  custom: {
    50: '#929862',
    500: '#646f22',
    950: '#000000',
  },
}
SCSS
$custom: #646f22;
$custom-light: #929862;
$custom-dark: #000000;
JSON
{
  "hex": "#646f22",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 68.571,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.1009,
    "h": 117
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#646F22
secondary
#574AA2
accent
#4BDD60
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646F22

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

Preview Lab → · Contrast checker → · Palette generator →

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