#646F11#646F11

#646F11 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.5% C 0.112 H 116.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#646F11
RGBrgb(100, 111, 17)
HSLhsl(67, 73%, 25%)
HSVhsv(67, 85%, 44%)
CMYKcmyk(9.9%, 0%, 84.7%, 56.5%)
CIE-LABlab(44.40, -16.39, 46.01)
CIE-LCHlch(44.40, 48.84, 109.61°)
OKLaboklab(51.51% -0.05 0.0999)
OKLCHoklch(51.51% 0.112 116.6)
XYZxyz(11.0415, 14.1188, 2.6738)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F11 #1C116F
analogous
#6F4B11 #646F11 #356F11
triadic
#646F11 #11646F #6F1164
tetradic
#646F11 #116F4B #1C116F #6F1135
square
#646F11 #116F4B #1C116F #6F1135
split-complementary
#646F11 #11356F #4B116F
monochromatic
#181B04 #343A09 #646F11 #94A419 #C4D921

Accessibility & contrast

On white

5.49
#646F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#646F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646F11
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646F11#FFFFFF#000000##FFFFFF
##646F111.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#766A1B
Tritanopia (blue-blind)
#6B685E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646f11;
/* rgb */ color: rgb(100, 111, 17);
/* oklch */ color: oklch(51.5% 0.112 116.6);
Tailwind
colors: {
  custom: {
    50: '#939859',
    500: '#646f11',
    950: '#000000',
  },
}
SCSS
$custom: #646f11;
$custom-light: #939859;
$custom-dark: #000000;
JSON
{
  "hex": "#646f11",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 67.021,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.11175,
    "h": 116.6
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#646F11
secondary
#4335A6
accent
#38F04D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646F11

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

Preview Lab → · Contrast checker → · Palette generator →

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