#646E1B#646E1B

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

Color values

HEX#646E1B
RGBrgb(100, 110, 27)
HSLhsl(67, 61%, 27%)
HSVhsv(67, 75%, 43%)
CMYKcmyk(9.1%, 0%, 75.5%, 56.9%)
CIE-LABlab(44.15, -15.38, 42.33)
CIE-LCHlch(44.15, 45.04, 109.96°)
OKLaboklab(51.32% -0.0463 0.094)
OKLCHoklch(51.32% 0.105 116.2)
XYZxyz(11.0296, 13.9405, 3.1464)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E1B #251B6E
analogous
#6E4F1B #646E1B #3B6E1B
triadic
#646E1B #1B646E #6E1B64
tetradic
#646E1B #1B6E4F #251B6E #6E1B3B
square
#646E1B #1B6E4F #251B6E #6E1B3B
split-complementary
#646E1B #1B3B6E #4F1B6E
monochromatic
#161906 #373D0F #646E1B #919F27 #BBCE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646E1B#FFFFFF#000000##FFFFFF
##646E1B1.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)
#76680C
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#6B675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646e1b;
/* rgb */ color: rgb(100, 110, 27);
/* oklch */ color: oklch(51.3% 0.105 116.2);
Tailwind
colors: {
  custom: {
    50: '#93975e',
    500: '#646e1b',
    950: '#000000',
  },
}
SCSS
$custom: #646e1b;
$custom-light: #93975e;
$custom-dark: #000000;
JSON
{
  "hex": "#646e1b",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 67.229,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51324,
    "c": 0.10482,
    "h": 116.2
  },
  "luminance": 0.1394
}

Semantic roles & 50–950 ramp

primary
#646E1B
secondary
#4E42A3
accent
#44E457
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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