#646F1E#646F1E

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

Color values

HEX#646F1E
RGBrgb(100, 111, 30)
HSLhsl(68, 57%, 28%)
HSVhsv(68, 73%, 44%)
CMYKcmyk(9.9%, 0%, 73%, 56.5%)
CIE-LABlab(44.48, -15.74, 41.45)
CIE-LCHlch(44.48, 44.34, 110.79°)
OKLaboklab(51.6% -0.047 0.0927)
OKLCHoklch(51.6% 0.104 116.9)
XYZxyz(11.1746, 14.1721, 3.3749)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F1E #291E6F
analogous
#6F511E #646F1E #3C6F1E
triadic
#646F1E #1E646F #6F1E64
tetradic
#646F1E #1E6F51 #291E6F #6F1E3C
square
#646F1E #1E6F51 #291E6F #6F1E3C
split-complementary
#646F1E #1E3C6F #511E6F
monochromatic
#161807 #393F11 #646F1E #8F9F2B #B7CB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646F1E#FFFFFF#000000##FFFFFF
##646F1E1.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)
#776911
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#6A695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f1e;
/* rgb */ color: rgb(100, 111, 30);
/* oklch */ color: oklch(51.6% 0.104 116.9);
Tailwind
colors: {
  custom: {
    50: '#939860',
    500: '#646f1e',
    950: '#000000',
  },
}
SCSS
$custom: #646f1e;
$custom-light: #939860;
$custom-dark: #000000;
JSON
{
  "hex": "#646f1e",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 68.148,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.10396,
    "h": 116.9
  },
  "luminance": 0.14172
}

Semantic roles & 50–950 ramp

primary
#646F1E
secondary
#5246A3
accent
#47E15C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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