#646F1A#646F1A

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

Color values

HEX#646F1A
RGBrgb(100, 111, 26)
HSLhsl(68, 62%, 27%)
HSVhsv(68, 77%, 44%)
CMYKcmyk(9.9%, 0%, 76.6%, 56.5%)
CIE-LABlab(44.45, -15.97, 43.01)
CIE-LCHlch(44.45, 45.88, 110.37°)
OKLaboklab(51.57% -0.0481 0.0953)
OKLCHoklch(51.57% 0.107 116.8)
XYZxyz(11.1267, 14.1529, 3.1227)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F1A #251A6F
analogous
#6F501A #646F1A #3A6F1A
triadic
#646F1A #1A646F #6F1A64
tetradic
#646F1A #1A6F50 #251A6F #6F1A3A
square
#646F1A #1A6F50 #251A6F #6F1A3A
split-complementary
#646F1A #1A3A6F #501A6F
monochromatic
#161906 #373D0E #646F1A #91A126 #BBCF34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646F1A#FFFFFF#000000##FFFFFF
##646F1A1.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)
#776909
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#6B685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f1a;
/* rgb */ color: rgb(100, 111, 26);
/* oklch */ color: oklch(51.6% 0.107 116.8);
Tailwind
colors: {
  custom: {
    50: '#93985d',
    500: '#646f1a',
    950: '#000000',
  },
}
SCSS
$custom: #646f1a;
$custom-light: #93985d;
$custom-dark: #000000;
JSON
{
  "hex": "#646f1a",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 67.765,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.10671,
    "h": 116.8
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#646F1A
secondary
#4E41A4
accent
#43E558
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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