#646F2A#646F2A

#646F2A is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.7% C 0.094 H 117.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#646F2A
RGBrgb(100, 111, 42)
HSLhsl(70, 45%, 30%)
HSVhsv(70, 62%, 44%)
CMYKcmyk(9.9%, 0%, 62.2%, 56.5%)
CIE-LABlab(44.58, -14.86, 36.13)
CIE-LCHlch(44.58, 39.06, 112.35°)
OKLaboklab(51.71% -0.0433 0.0834)
OKLCHoklch(51.71% 0.094 117.4)
XYZxyz(11.3581, 14.2455, 4.3413)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F2A #352A6F
analogous
#6F572A #646F2A #426F2A
triadic
#646F2A #2A646F #6F2A64
tetradic
#646F2A #2A6F57 #352A6F #6F2A42
square
#646F2A #2A6F57 #352A6F #6F2A42
split-complementary
#646F2A #2A426F #572A6F
monochromatic
#141608 #3C4319 #646F2A #8C9B3B #AEBF55

Accessibility & contrast

On white

5.46
#646F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646F2A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F2A#FFFFFF#000000##FFFFFF
##646F2A1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646f2a;
/* rgb */ color: rgb(100, 111, 42);
/* oklch */ color: oklch(51.7% 0.094 117.4);
Tailwind
colors: {
  custom: {
    50: '#929867',
    500: '#646f2a',
    950: '#000000',
  },
}
SCSS
$custom: #646f2a;
$custom-light: #929867;
$custom-dark: #000000;
JSON
{
  "hex": "#646f2a",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 69.565,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.51714,
    "c": 0.09393,
    "h": 117.4
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#646F2A
secondary
#6054A1
accent
#53D568
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A

Preview Lab

Preview with #646F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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