#646E1F#646E1F

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

Color values

HEX#646E1F
RGBrgb(100, 110, 31)
HSLhsl(68, 56%, 28%)
HSVhsv(68, 72%, 43%)
CMYKcmyk(9.1%, 0%, 71.8%, 56.9%)
CIE-LABlab(44.18, -15.13, 40.73)
CIE-LCHlch(44.18, 43.45, 110.39°)
OKLaboklab(51.36% -0.0452 0.0914)
OKLCHoklch(51.36% 0.102 116.3)
XYZxyz(11.0790, 13.9603, 3.4070)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E1F #291F6E
analogous
#6E501F #646E1F #3C6E1F
triadic
#646E1F #1F646E #6E1F64
tetradic
#646E1F #1F6E50 #291F6E #6E1F3C
square
#646E1F #1F6E50 #291F6E #6E1F3C
split-complementary
#646E1F #1F3C6E #501F6E
monochromatic
#161807 #393E12 #646E1F #8F9E2C #B7C93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646E1F#FFFFFF#000000##FFFFFF
##646E1F1.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)
#766813
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#6B685E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646e1f;
/* rgb */ color: rgb(100, 110, 31);
/* oklch */ color: oklch(51.4% 0.102 116.3);
Tailwind
colors: {
  custom: {
    50: '#939760',
    500: '#646e1f',
    950: '#000000',
  },
}
SCSS
$custom: #646e1f;
$custom-light: #939760;
$custom-dark: #000000;
JSON
{
  "hex": "#646e1f",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 67.595,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51356,
    "c": 0.10196,
    "h": 116.3
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#646E1F
secondary
#5247A2
accent
#48DF5C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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