#646F2B#646F2B

#646F2B is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.7% C 0.093 H 117.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#646F2B
RGBrgb(100, 111, 43)
HSLhsl(70, 44%, 30%)
HSVhsv(70, 61%, 44%)
CMYKcmyk(9.9%, 0%, 61.3%, 56.5%)
CIE-LABlab(44.59, -14.77, 35.65)
CIE-LCHlch(44.59, 38.59, 112.50°)
OKLaboklab(51.73% -0.0429 0.0825)
OKLCHoklch(51.73% 0.093 117.5)
XYZxyz(11.3762, 14.2527, 4.4368)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F2B #362B6F
analogous
#6F582B #646F2B #426F2B
triadic
#646F2B #2B646F #6F2B64
tetradic
#646F2B #2B6F58 #362B6F #6F2B42
square
#646F2B #2B6F58 #362B6F #6F2B42
split-complementary
#646F2B #2B426F #582B6F
monochromatic
#151709 #3C431A #646F2B #8C9B3C #ADBE57

Accessibility & contrast

On white

5.45
#646F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#646F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F2B
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F2B#FFFFFF#000000##FFFFFF
##646F2B1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766924
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#6A6960
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f2b;
/* rgb */ color: rgb(100, 111, 43);
/* oklch */ color: oklch(51.7% 0.093 117.5);
Tailwind
colors: {
  custom: {
    50: '#929867',
    500: '#646f2b',
    950: '#000000',
  },
}
SCSS
$custom: #646f2b;
$custom-light: #929867;
$custom-dark: #000000;
JSON
{
  "hex": "#646f2b",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 43
  },
  "hsl": {
    "h": 69.706,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51726,
    "c": 0.09297,
    "h": 117.5
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#646F2B
secondary
#6155A1
accent
#54D469
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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