#646331#646331

#646331 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.9% C 0.071 H 107.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#646331
RGBrgb(100, 99, 49)
HSLhsl(59, 34%, 29%)
HSVhsv(59, 51%, 39%)
CMYKcmyk(0%, 1%, 51%, 60.8%)
CIE-LABlab(40.98, -7.46, 28.33)
CIE-LCHlch(40.98, 29.30, 104.75°)
OKLaboklab(48.86% -0.0215 0.0673)
OKLCHoklch(48.86% 0.071 107.7)
XYZxyz(10.2720, 11.8550, 4.6523)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646331 #313264
analogous
#644A31 #646331 #4C6431
triadic
#646331 #316463 #633164
tetradic
#646331 #31644A #313264 #64314C
square
#646331 #31644A #313264 #64314C
split-complementary
#646331 #314C64 #4A3164
monochromatic
#15140A #3B3A1D #646331 #8D8C45 #B1AF5F

Accessibility & contrast

On white

6.23
#646331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#646331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646331
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646331#FFFFFF#000000##FFFFFF
##6463311.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A602D
Deuteranopia (green-blind)
#6B6233
Tritanopia (blue-blind)
#6A5D57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646331;
/* rgb */ color: rgb(100, 99, 49);
/* oklch */ color: oklch(48.9% 0.071 107.7);
Tailwind
colors: {
  custom: {
    50: '#918f6a',
    500: '#646331',
    950: '#000000',
  },
}
SCSS
$custom: #646331;
$custom-light: #918f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#646331",
  "rgb": {
    "r": 100,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 58.824,
    "s": 34.228,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.07069,
    "h": 107.7
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#646331
secondary
#5C5D95
accent
#60CA5D
background
#F9F8F6
surface
#F1F0EB
border
#CBCBC6
text
#0D0C06
muted
#7E7D7A

Preview Lab

Preview with #646331

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

Preview Lab → · Contrast checker → · Palette generator →

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