#646A1B#646A1B

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

Color values

HEX#646A1B
RGBrgb(100, 106, 27)
HSLhsl(65, 59%, 26%)
HSVhsv(65, 75%, 42%)
CMYKcmyk(5.7%, 0%, 74.5%, 58.4%)
CIE-LABlab(42.91, -13.19, 41.12)
CIE-LCHlch(42.91, 43.18, 107.78°)
OKLaboklab(50.33% -0.0402 0.0915)
OKLCHoklch(50.33% 0.1 113.8)
XYZxyz(10.6077, 13.0967, 3.0058)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A1B #211B6A
analogous
#6A481B #646A1B #3C6A1B
triadic
#646A1B #1B646A #6A1B64
tetradic
#646A1B #1B6A48 #211B6A #6A1B3C
square
#646A1B #1B6A48 #211B6A #6A1B3C
split-complementary
#646A1B #1B3C6A #481B6A
monochromatic
#171806 #36390F #646A1B #929B27 #C0CB34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646A1B#FFFFFF#000000##FFFFFF
##646A1B1.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)
#72650D
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#6B635B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a1b;
/* rgb */ color: rgb(100, 106, 27);
/* oklch */ color: oklch(50.3% 0.100 113.8);
Tailwind
colors: {
  custom: {
    50: '#93945d',
    500: '#646a1b',
    950: '#000000',
  },
}
SCSS
$custom: #646a1b;
$custom-light: #93945d;
$custom-dark: #000000;
JSON
{
  "hex": "#646a1b",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 64.557,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.09993,
    "h": 113.8
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#646A1B
secondary
#49429F
accent
#45E351
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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