#646121#646121

#646121 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.2% C 0.085 H 106.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#646121
RGBrgb(100, 97, 33)
HSLhsl(57, 50%, 26%)
HSVhsv(57, 67%, 39%)
CMYKcmyk(0%, 3%, 67%, 60.8%)
CIE-LABlab(40.19, -7.72, 35.71)
CIE-LCHlch(40.19, 36.53, 102.20°)
OKLaboklab(48.18% -0.0242 0.0811)
OKLCHoklch(48.18% 0.085 106.6)
XYZxyz(9.8051, 11.3688, 3.1165)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646121 #212464
analogous
#643F21 #646121 #456421
triadic
#646121 #216461 #612164
tetradic
#646121 #21643F #212464 #642145
square
#646121 #21643F #212464 #642145
split-complementary
#646121 #214564 #3F2164
monochromatic
#171608 #363412 #646121 #928E30 #C0BA40

Accessibility & contrast

On white

6.41
#646121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#646121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646121
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646121#FFFFFF#000000##FFFFFF
##6461211.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D19
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#6B5B54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #646121;
/* rgb */ color: rgb(100, 97, 33);
/* oklch */ color: oklch(48.2% 0.085 106.6);
Tailwind
colors: {
  custom: {
    50: '#928d60',
    500: '#646121',
    950: '#000000',
  },
}
SCSS
$custom: #646121;
$custom-light: #928d60;
$custom-dark: #000000;
JSON
{
  "hex": "#646121",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 33
  },
  "hsl": {
    "h": 57.313,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48178,
    "c": 0.08467,
    "h": 106.6
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#646121
secondary
#494C98
accent
#54DA4E
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #646121

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

Preview Lab → · Contrast checker → · Palette generator →

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