#646E1D#646E1D

#646E1D is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.3% C 0.103 H 116.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#646E1D
RGBrgb(100, 110, 29)
HSLhsl(67, 58%, 27%)
HSVhsv(67, 74%, 43%)
CMYKcmyk(9.1%, 0%, 73.6%, 56.9%)
CIE-LABlab(44.16, -15.26, 41.54)
CIE-LCHlch(44.16, 44.26, 110.17°)
OKLaboklab(51.34% -0.0458 0.0927)
OKLCHoklch(51.34% 0.103 116.3)
XYZxyz(11.0535, 13.9500, 3.2725)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E1D #271D6E
analogous
#6E4F1D #646E1D #3C6E1D
triadic
#646E1D #1D646E #6E1D64
tetradic
#646E1D #1D6E4F #271D6E #6E1D3C
square
#646E1D #1D6E4F #271D6E #6E1D3C
split-complementary
#646E1D #1D3C6E #4F1D6E
monochromatic
#161806 #383E10 #646E1D #909E2A #B9CB3A

Accessibility & contrast

On white

5.54
#646E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#646E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E1D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E1D#FFFFFF#000000##FFFFFF
##646E1D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680F
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#6B675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646e1d;
/* rgb */ color: rgb(100, 110, 29);
/* oklch */ color: oklch(51.3% 0.103 116.3);
Tailwind
colors: {
  custom: {
    50: '#93975f',
    500: '#646e1d',
    950: '#000000',
  },
}
SCSS
$custom: #646e1d;
$custom-light: #93975f;
$custom-dark: #000000;
JSON
{
  "hex": "#646e1d",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 29
  },
  "hsl": {
    "h": 67.407,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.5134,
    "c": 0.10343,
    "h": 116.3
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#646E1D
secondary
#5044A2
accent
#46E159
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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