#646F20#646F20

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

Color values

HEX#646F20
RGBrgb(100, 111, 32)
HSLhsl(68, 55%, 28%)
HSVhsv(68, 71%, 44%)
CMYKcmyk(9.9%, 0%, 71.2%, 56.5%)
CIE-LABlab(44.49, -15.61, 40.63)
CIE-LCHlch(44.49, 43.52, 111.02°)
OKLaboklab(51.61% -0.0465 0.0913)
OKLCHoklch(51.61% 0.102 117)
XYZxyz(11.2009, 14.1826, 3.5137)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F20 #2B206F
analogous
#6F5220 #646F20 #3D6F20
triadic
#646F20 #20646F #6F2064
tetradic
#646F20 #206F52 #2B206F #6F203D
square
#646F20 #206F52 #2B206F #6F203D
split-complementary
#646F20 #203D6F #52206F
monochromatic
#151807 #393F12 #646F20 #8F9F2E #B5C841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646F20#FFFFFF#000000##FFFFFF
##646F201.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)
#776914
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#6A695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f20;
/* rgb */ color: rgb(100, 111, 32);
/* oklch */ color: oklch(51.6% 0.102 117.0);
Tailwind
colors: {
  custom: {
    50: '#939861',
    500: '#646f20',
    950: '#000000',
  },
}
SCSS
$custom: #646f20;
$custom-light: #939861;
$custom-dark: #000000;
JSON
{
  "hex": "#646f20",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 68.354,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.10247,
    "h": 117
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

primary
#646F20
secondary
#5548A3
accent
#49DF5E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646F20

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

Preview Lab → · Contrast checker → · Palette generator →

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