#646C1B#646C1B

#646C1B is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.102 H 115.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#646C1B
RGBrgb(100, 108, 27)
HSLhsl(66, 60%, 26%)
HSVhsv(66, 75%, 42%)
CMYKcmyk(7.4%, 0%, 75%, 57.6%)
CIE-LABlab(43.53, -14.29, 41.73)
CIE-LCHlch(43.53, 44.10, 108.90°)
OKLaboklab(50.83% -0.0433 0.0927)
OKLCHoklch(50.83% 0.102 115)
XYZxyz(10.8162, 13.5138, 3.0753)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C1B #231B6C
analogous
#6C4C1B #646C1B #3C6C1B
triadic
#646C1B #1B646C #6C1B64
tetradic
#646C1B #1B6C4C #231B6C #6C1B3C
square
#646C1B #1B6C4C #231B6C #6C1B3C
split-complementary
#646C1B #1B3C6C #4C1B6C
monochromatic
#171806 #373B0F #646C1B #919D27 #BECC35

Accessibility & contrast

On white

5.67
#646C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#646C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C1B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C1B#FFFFFF#000000##FFFFFF
##646C1B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660C
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c1b;
/* rgb */ color: rgb(100, 108, 27);
/* oklch */ color: oklch(50.8% 0.102 115.0);
Tailwind
colors: {
  custom: {
    50: '#93965e',
    500: '#646c1b',
    950: '#000000',
  },
}
SCSS
$custom: #646c1b;
$custom-light: #93965e;
$custom-dark: #000000;
JSON
{
  "hex": "#646c1b",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 65.926,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.10235,
    "h": 115
  },
  "luminance": 0.13514
}

Semantic roles & 50–950 ramp

primary
#646C1B
secondary
#4B42A1
accent
#45E354
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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