#646E21#646E21

#646E21 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#646E21
RGBrgb(100, 110, 33)
HSLhsl(68, 54%, 28%)
HSVhsv(68, 70%, 43%)
CMYKcmyk(9.1%, 0%, 70%, 56.9%)
CIE-LABlab(44.19, -15.00, 39.88)
CIE-LCHlch(44.19, 42.61, 110.61°)
OKLaboklab(51.37% -0.0447 0.0899)
OKLCHoklch(51.37% 0.1 116.4)
XYZxyz(11.1062, 13.9711, 3.5502)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E21 #2B216E
analogous
#6E5121 #646E21 #3D6E21
triadic
#646E21 #21646E #6E2164
tetradic
#646E21 #216E51 #2B216E #6E213D
square
#646E21 #216E51 #2B216E #6E213D
split-complementary
#646E21 #213D6E #51216E
monochromatic
#151807 #393F13 #646E21 #8F9D2F #B5C743

Accessibility & contrast

On white

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

On black

3.79
#646E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##646E21#FFFFFF#000000##FFFFFF
##646E211.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646e21;
/* rgb */ color: rgb(100, 110, 33);
/* oklch */ color: oklch(51.4% 0.100 116.4);
Tailwind
colors: {
  custom: {
    50: '#929761',
    500: '#646e21',
    950: '#000000',
  },
}
SCSS
$custom: #646e21;
$custom-light: #929761;
$custom-dark: #000000;
JSON
{
  "hex": "#646e21",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 33
  },
  "hsl": {
    "h": 67.792,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.10042,
    "h": 116.4
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#646E21
secondary
#5549A2
accent
#4BDD5E
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646E21

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

Preview Lab → · Contrast checker → · Palette generator →

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