#646F16#646F16

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

Color values

HEX#646F16
RGBrgb(100, 111, 22)
HSLhsl(67, 67%, 26%)
HSVhsv(67, 80%, 44%)
CMYKcmyk(9.9%, 0%, 80.2%, 56.5%)
CIE-LABlab(44.43, -16.18, 44.43)
CIE-LCHlch(44.43, 47.29, 110.00°)
OKLaboklab(51.54% -0.049 0.0975)
OKLCHoklch(51.54% 0.109 116.7)
XYZxyz(11.0851, 14.1363, 2.9035)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646F16 #21166F
analogous
#6F4D16 #646F16 #376F16
triadic
#646F16 #16646F #6F1664
tetradic
#646F16 #166F4D #21166F #6F1637
square
#646F16 #166F4D #21166F #6F1637
split-complementary
#646F16 #16376F #4D166F
monochromatic
#171A05 #363C0C #646F16 #92A220 #C0D52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646F16#FFFFFF#000000##FFFFFF
##646F161.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646f16;
/* rgb */ color: rgb(100, 111, 22);
/* oklch */ color: oklch(51.5% 0.109 116.7);
Tailwind
colors: {
  custom: {
    50: '#93985c',
    500: '#646f16',
    950: '#000000',
  },
}
SCSS
$custom: #646f16;
$custom-light: #93985c;
$custom-dark: #000000;
JSON
{
  "hex": "#646f16",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 67.416,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.10915,
    "h": 116.7
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#646F16
secondary
#493CA5
accent
#3EEA53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646F16

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

Preview Lab → · Contrast checker → · Palette generator →

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