#646A1E#646A1E

#646A1E is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.098 H 113.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#646A1E
RGBrgb(100, 106, 30)
HSLhsl(65, 56%, 27%)
HSVhsv(65, 72%, 42%)
CMYKcmyk(5.7%, 0%, 71.7%, 58.4%)
CIE-LABlab(42.93, -13.00, 39.90)
CIE-LCHlch(42.93, 41.96, 108.05°)
OKLaboklab(50.36% -0.0394 0.0894)
OKLCHoklch(50.36% 0.098 113.8)
XYZxyz(10.6442, 13.1113, 3.1981)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A1E #241E6A
analogous
#6A4A1E #646A1E #3E6A1E
triadic
#646A1E #1E646A #6A1E64
tetradic
#646A1E #1E6A4A #241E6A #6A1E3E
square
#646A1E #1E6A4A #241E6A #6A1E3E
split-complementary
#646A1E #1E3E6A #4A1E6A
monochromatic
#161807 #373A11 #646A1E #919A2C #BCC73B

Accessibility & contrast

On white

5.80
#646A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#646A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A1E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A1E#FFFFFF#000000##FFFFFF
##646A1E1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726512
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#6B635B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a1e;
/* rgb */ color: rgb(100, 106, 30);
/* oklch */ color: oklch(50.4% 0.098 113.8);
Tailwind
colors: {
  custom: {
    50: '#93945f',
    500: '#646a1e',
    950: '#000000',
  },
}
SCSS
$custom: #646a1e;
$custom-light: #93945f;
$custom-dark: #000000;
JSON
{
  "hex": "#646a1e",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 30
  },
  "hsl": {
    "h": 64.737,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.09774,
    "h": 113.8
  },
  "luminance": 0.13111
}

Semantic roles & 50–950 ramp

primary
#646A1E
secondary
#4C459E
accent
#49DF55
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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