#646A20#646A20

#646A20 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.096 H 113.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#646A20
RGBrgb(100, 106, 32)
HSLhsl(65, 54%, 27%)
HSVhsv(65, 70%, 42%)
CMYKcmyk(5.7%, 0%, 69.8%, 58.4%)
CIE-LABlab(42.95, -12.87, 39.04)
CIE-LCHlch(42.95, 41.11, 108.25°)
OKLaboklab(50.37% -0.0388 0.088)
OKLCHoklch(50.37% 0.096 113.8)
XYZxyz(10.6706, 13.1219, 3.3369)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A20 #26206A
analogous
#6A4B20 #646A20 #3F6A20
triadic
#646A20 #20646A #6A2064
tetradic
#646A20 #206A4B #26206A #6A203F
square
#646A20 #206A4B #26206A #6A203F
split-complementary
#646A20 #203F6A #4B206A
monochromatic
#161807 #383B12 #646A20 #90992E #BAC53F

Accessibility & contrast

On white

5.79
#646A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#646A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A20
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A20#FFFFFF#000000##FFFFFF
##646A201.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726516
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#6B645B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a20;
/* rgb */ color: rgb(100, 106, 32);
/* oklch */ color: oklch(50.4% 0.096 113.8);
Tailwind
colors: {
  custom: {
    50: '#929460',
    500: '#646a20',
    950: '#000000',
  },
}
SCSS
$custom: #646a20;
$custom-light: #929460;
$custom-dark: #000000;
JSON
{
  "hex": "#646a20",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 64.865,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50373,
    "c": 0.09619,
    "h": 113.8
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#646A20
secondary
#4F489E
accent
#4BDD57
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646A20

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

Preview Lab → · Contrast checker → · Palette generator →

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