#646C1E#646C1E

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

Color values

HEX#646C1E
RGBrgb(100, 108, 30)
HSLhsl(66, 57%, 27%)
HSVhsv(66, 72%, 42%)
CMYKcmyk(7.4%, 0%, 72.2%, 57.6%)
CIE-LABlab(43.55, -14.11, 40.52)
CIE-LCHlch(43.55, 42.90, 109.20°)
OKLaboklab(50.85% -0.0425 0.0908)
OKLCHoklch(50.85% 0.1 115.1)
XYZxyz(10.8527, 13.5284, 3.2676)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C1E #261E6C
analogous
#6C4D1E #646C1E #3D6C1E
triadic
#646C1E #1E646C #6C1E64
tetradic
#646C1E #1E6C4D #261E6C #6C1E3D
square
#646C1E #1E6C4D #261E6C #6C1E3D
split-complementary
#646C1E #1E3D6C #4D1E6C
monochromatic
#161807 #383C11 #646C1E #909C2B #BAC93C

Accessibility & contrast

On white

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

On black

3.71
#646C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##646C1E#FFFFFF#000000##FFFFFF
##646C1E1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746612
Deuteranopia (green-blind)
#736824
Tritanopia (blue-blind)
#6B665C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c1e;
/* rgb */ color: rgb(100, 108, 30);
/* oklch */ color: oklch(50.9% 0.100 115.1);
Tailwind
colors: {
  custom: {
    50: '#93965f',
    500: '#646c1e',
    950: '#000000',
  },
}
SCSS
$custom: #646c1e;
$custom-light: #93965f;
$custom-dark: #000000;
JSON
{
  "hex": "#646c1e",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 30
  },
  "hsl": {
    "h": 66.154,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.1002,
    "h": 115.1
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#646C1E
secondary
#4F45A0
accent
#48E058
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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