#646D21#646D21

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

Color values

HEX#646D21
RGBrgb(100, 109, 33)
HSLhsl(67, 54%, 28%)
HSVhsv(67, 70%, 43%)
CMYKcmyk(8.3%, 0%, 69.7%, 57.3%)
CIE-LABlab(43.88, -14.46, 39.57)
CIE-LCHlch(43.88, 42.12, 110.07°)
OKLaboklab(51.13% -0.0431 0.0893)
OKLCHoklch(51.13% 0.099 115.8)
XYZxyz(10.9989, 13.7566, 3.5144)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D21 #2A216D
analogous
#6D5021 #646D21 #3E6D21
triadic
#646D21 #21646D #6D2164
tetradic
#646D21 #216D50 #2A216D #6D213E
square
#646D21 #216D50 #2A216D #6D213E
split-complementary
#646D21 #213E6D #50216D
monochromatic
#161707 #393E13 #646D21 #8F9C2F #B6C642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646D21#FFFFFF#000000##FFFFFF
##646D211.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)
#756716
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#6A675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d21;
/* rgb */ color: rgb(100, 109, 33);
/* oklch */ color: oklch(51.1% 0.099 115.8);
Tailwind
colors: {
  custom: {
    50: '#929661',
    500: '#646d21',
    950: '#000000',
  },
}
SCSS
$custom: #646d21;
$custom-light: #929661;
$custom-dark: #000000;
JSON
{
  "hex": "#646d21",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 33
  },
  "hsl": {
    "h": 67.105,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.09915,
    "h": 115.8
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#646D21
secondary
#5349A1
accent
#4BDD5C
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646D21

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

Preview Lab → · Contrast checker → · Palette generator →

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