#646E2A#646E2A

#646E2A is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.5% C 0.093 H 116.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#646E2A
RGBrgb(100, 110, 42)
HSLhsl(69, 45%, 30%)
HSVhsv(69, 62%, 43%)
CMYKcmyk(9.1%, 0%, 61.8%, 56.9%)
CIE-LABlab(44.27, -14.31, 35.78)
CIE-LCHlch(44.27, 38.54, 111.80°)
OKLaboklab(51.47% -0.0417 0.0826)
OKLCHoklch(51.47% 0.093 116.8)
XYZxyz(11.2496, 14.0285, 4.3052)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E2A #342A6E
analogous
#6E562A #646E2A #426E2A
triadic
#646E2A #2A646E #6E2A64
tetradic
#646E2A #2A6E56 #342A6E #6E2A42
square
#646E2A #2A6E56 #342A6E #6E2A42
split-complementary
#646E2A #2A426E #562A6E
monochromatic
#141608 #3C4219 #646E2A #8C9A3B #AEBE55

Accessibility & contrast

On white

5.52
#646E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#646E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E2A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E2A#FFFFFF#000000##FFFFFF
##646E2A1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756822
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#6A685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646e2a;
/* rgb */ color: rgb(100, 110, 42);
/* oklch */ color: oklch(51.5% 0.093 116.8);
Tailwind
colors: {
  custom: {
    50: '#929766',
    500: '#646e2a',
    950: '#000000',
  },
}
SCSS
$custom: #646e2a;
$custom-light: #929766;
$custom-dark: #000000;
JSON
{
  "hex": "#646e2a",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 42
  },
  "hsl": {
    "h": 68.824,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.09258,
    "h": 116.8
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#646E2A
secondary
#5F54A0
accent
#53D466
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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