#646B1C#646B1C

#646B1C is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.100 H 114.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#646B1C
RGBrgb(100, 107, 28)
HSLhsl(65, 59%, 26%)
HSVhsv(65, 74%, 42%)
CMYKcmyk(6.5%, 0%, 73.8%, 58%)
CIE-LABlab(43.22, -13.68, 41.03)
CIE-LCHlch(43.22, 43.25, 108.44°)
OKLaboklab(50.59% -0.0415 0.0915)
OKLCHoklch(50.59% 0.1 114.4)
XYZxyz(10.7231, 13.3088, 3.1024)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B1C #231C6B
analogous
#6B4B1C #646B1C #3D6B1C
triadic
#646B1C #1C646B #6B1C64
tetradic
#646B1C #1C6B4B #231C6B #6B1C3D
square
#646B1C #1C6B4B #231C6B #6B1C3D
split-complementary
#646B1C #1C3D6B #4B1C6B
monochromatic
#171806 #373A0F #646B1C #919C29 #BECB37

Accessibility & contrast

On white

5.73
#646B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#646B1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B1C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B1C#FFFFFF#000000##FFFFFF
##646B1C1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650F
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#6B645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646b1c;
/* rgb */ color: rgb(100, 107, 28);
/* oklch */ color: oklch(50.6% 0.100 114.4);
Tailwind
colors: {
  custom: {
    50: '#93955e',
    500: '#646b1c',
    950: '#000000',
  },
}
SCSS
$custom: #646b1c;
$custom-light: #93955e;
$custom-dark: #000000;
JSON
{
  "hex": "#646b1c",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 28
  },
  "hsl": {
    "h": 65.316,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.10044,
    "h": 114.4
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#646B1C
secondary
#4B43A0
accent
#46E254
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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