#646D1B#646D1B

#646D1B is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.104 H 115.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#646D1B
RGBrgb(100, 109, 27)
HSLhsl(67, 60%, 27%)
HSVhsv(67, 75%, 43%)
CMYKcmyk(8.3%, 0%, 75.2%, 57.3%)
CIE-LABlab(43.84, -14.83, 42.03)
CIE-LCHlch(43.84, 44.57, 109.44°)
OKLaboklab(51.08% -0.0448 0.0934)
OKLCHoklch(51.08% 0.104 115.6)
XYZxyz(10.9223, 13.7259, 3.1107)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646D1B #241B6D
analogous
#6D4D1B #646D1B #3B6D1B
triadic
#646D1B #1B646D #6D1B64
tetradic
#646D1B #1B6D4D #241B6D #6D1B3B
square
#646D1B #1B6D4D #241B6D #6D1B3B
split-complementary
#646D1B #1B3B6D #4D1B6D
monochromatic
#171906 #373C0F #646D1B #919E27 #BCCD35

Accessibility & contrast

On white

5.61
#646D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#646D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646D1B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646D1B#FFFFFF#000000##FFFFFF
##646D1B1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670C
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646d1b;
/* rgb */ color: rgb(100, 109, 27);
/* oklch */ color: oklch(51.1% 0.104 115.6);
Tailwind
colors: {
  custom: {
    50: '#93965e',
    500: '#646d1b',
    950: '#000000',
  },
}
SCSS
$custom: #646d1b;
$custom-light: #93965e;
$custom-dark: #000000;
JSON
{
  "hex": "#646d1b",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 66.585,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.10358,
    "h": 115.6
  },
  "luminance": 0.13726
}

Semantic roles & 50–950 ramp

primary
#646D1B
secondary
#4C42A2
accent
#44E356
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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