#646E16#646E16

#646E16 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.108 H 116.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#646E16
RGBrgb(100, 110, 22)
HSLhsl(67, 67%, 26%)
HSVhsv(67, 80%, 43%)
CMYKcmyk(9.1%, 0%, 80%, 56.9%)
CIE-LABlab(44.12, -15.64, 44.15)
CIE-LCHlch(44.12, 46.83, 109.50°)
OKLaboklab(51.29% -0.0475 0.0969)
OKLCHoklch(51.29% 0.108 116.1)
XYZxyz(10.9766, 13.9193, 2.8674)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E16 #20166E
analogous
#6E4C16 #646E16 #386E16
triadic
#646E16 #16646E #6E1664
tetradic
#646E16 #166E4C #20166E #6E1638
square
#646E16 #166E4C #20166E #6E1638
split-complementary
#646E16 #16386E #4C166E
monochromatic
#171A05 #363B0C #646E16 #92A120 #C1D42A

Accessibility & contrast

On white

5.55
#646E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#646E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E16
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E16#FFFFFF#000000##FFFFFF
##646E161.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766801
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#6B675E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646e16;
/* rgb */ color: rgb(100, 110, 22);
/* oklch */ color: oklch(51.3% 0.108 116.1);
Tailwind
colors: {
  custom: {
    50: '#93975b',
    500: '#646e16',
    950: '#000000',
  },
}
SCSS
$custom: #646e16;
$custom-light: #93975b;
$custom-dark: #000000;
JSON
{
  "hex": "#646e16",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 66.818,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.5129,
    "c": 0.10793,
    "h": 116.1
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#646E16
secondary
#483CA4
accent
#3EEA52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646E16

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

Preview Lab → · Contrast checker → · Palette generator →

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