#646F1B#646F1B

#646F1B is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.106 H 116.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#646F1B
RGBrgb(100, 111, 27)
HSLhsl(68, 61%, 27%)
HSVhsv(68, 76%, 44%)
CMYKcmyk(9.9%, 0%, 75.7%, 56.5%)
CIE-LABlab(44.46, -15.92, 42.63)
CIE-LCHlch(44.46, 45.50, 110.47°)
OKLaboklab(51.57% -0.0478 0.0947)
OKLCHoklch(51.57% 0.106 116.8)
XYZxyz(11.1381, 14.1575, 3.1826)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F1B #261B6F
analogous
#6F501B #646F1B #3A6F1B
triadic
#646F1B #1B646F #6F1B64
tetradic
#646F1B #1B6F50 #261B6F #6F1B3A
square
#646F1B #1B6F50 #261B6F #6F1B3A
split-complementary
#646F1B #1B3A6F #501B6F
monochromatic
#161906 #383E0F #646F1B #90A027 #BACE36

Accessibility & contrast

On white

5.48
#646F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#646F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F1B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F1B#FFFFFF#000000##FFFFFF
##646F1B1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690B
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#6B685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f1b;
/* rgb */ color: rgb(100, 111, 27);
/* oklch */ color: oklch(51.6% 0.106 116.8);
Tailwind
colors: {
  custom: {
    50: '#93985e',
    500: '#646f1b',
    950: '#000000',
  },
}
SCSS
$custom: #646f1b;
$custom-light: #93985e;
$custom-dark: #000000;
JSON
{
  "hex": "#646f1b",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 67.857,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.10605,
    "h": 116.8
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#646F1B
secondary
#4F42A4
accent
#44E459
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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