#646C20#646C20

#646C20 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.9% C 0.099 H 115.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#646C20
RGBrgb(100, 108, 32)
HSLhsl(66, 54%, 27%)
HSVhsv(66, 70%, 42%)
CMYKcmyk(7.4%, 0%, 70.4%, 57.6%)
CIE-LABlab(43.56, -13.98, 39.68)
CIE-LCHlch(43.56, 42.07, 109.40°)
OKLaboklab(50.87% -0.0419 0.0893)
OKLCHoklch(50.87% 0.099 115.1)
XYZxyz(10.8791, 13.5389, 3.4064)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C20 #28206C
analogous
#6C4E20 #646C20 #3E6C20
triadic
#646C20 #20646C #6C2064
tetradic
#646C20 #206C4E #28206C #6C203E
square
#646C20 #206C4E #28206C #6C203E
split-complementary
#646C20 #203E6C #4E206C
monochromatic
#161807 #383D12 #646C20 #909B2E #B8C640

Accessibility & contrast

On white

5.66
#646C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#646C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C20
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C20#FFFFFF#000000##FFFFFF
##646C201.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746615
Deuteranopia (green-blind)
#736825
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c20;
/* rgb */ color: rgb(100, 108, 32);
/* oklch */ color: oklch(50.9% 0.099 115.1);
Tailwind
colors: {
  custom: {
    50: '#929660',
    500: '#646c20',
    950: '#000000',
  },
}
SCSS
$custom: #646c20;
$custom-light: #929660;
$custom-dark: #000000;
JSON
{
  "hex": "#646c20",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 32
  },
  "hsl": {
    "h": 66.316,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50868,
    "c": 0.09868,
    "h": 115.1
  },
  "luminance": 0.13539
}

Semantic roles & 50–950 ramp

primary
#646C20
secondary
#5148A0
accent
#4ADE5A
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646C20

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

Preview Lab → · Contrast checker → · Palette generator →

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