#646239#646239

#646239 is a mid, muted yellow. Relative luminance 0.117; OKLCH L 48.8% C 0.060 H 106.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#646239
RGBrgb(100, 98, 57)
HSLhsl(57, 27%, 31%)
HSVhsv(57, 43%, 39%)
CMYKcmyk(0%, 2%, 43%, 60.8%)
CIE-LABlab(40.80, -5.97, 23.60)
CIE-LCHlch(40.80, 24.34, 104.20°)
OKLaboklab(48.76% -0.0164 0.0574)
OKLCHoklch(48.76% 0.06 106)
XYZxyz(10.3619, 11.7403, 5.5904)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646239 #393B64
analogous
#644C39 #646239 #506439
triadic
#646239 #396462 #623964
tetradic
#646239 #39644C #393B64 #643950
square
#646239 #39644C #393B64 #643950
split-complementary
#646239 #395064 #4C3964
monochromatic
#16160D #3D3C23 #646239 #8B884F #ABA86C

Accessibility & contrast

On white

6.27
#646239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#646239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646239
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646239#FFFFFF#000000##FFFFFF
##6462391.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F36
Deuteranopia (green-blind)
#69613B
Tritanopia (blue-blind)
#6A5D58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #646239;
/* rgb */ color: rgb(100, 98, 57);
/* oklch */ color: oklch(48.8% 0.060 106.0);
Tailwind
colors: {
  custom: {
    50: '#918e70',
    500: '#646239',
    950: '#000000',
  },
}
SCSS
$custom: #646239;
$custom-light: #918e70;
$custom-dark: #000000;
JSON
{
  "hex": "#646239",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 57.209,
    "s": 27.389,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.0597,
    "h": 106
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#646239
secondary
#656794
accent
#69C464
background
#F9F8F6
surface
#F1F0EC
border
#CBCBC7
text
#0D0C07
muted
#7E7D7A

Preview Lab

Preview with #646239

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

Preview Lab → · Contrast checker → · Palette generator →

#646239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva