#646E11#646E11

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

Color values

HEX#646E11
RGBrgb(100, 110, 17)
HSLhsl(66, 73%, 25%)
HSVhsv(66, 85%, 43%)
CMYKcmyk(9.1%, 0%, 84.5%, 56.9%)
CIE-LABlab(44.09, -15.85, 45.74)
CIE-LCHlch(44.09, 48.41, 109.11°)
OKLaboklab(51.26% -0.0485 0.0993)
OKLCHoklch(51.26% 0.111 116)
XYZxyz(10.9329, 13.9018, 2.6376)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E11 #1B116E
analogous
#6E4A11 #646E11 #356E11
triadic
#646E11 #11646E #6E1164
tetradic
#646E11 #116E4A #1B116E #6E1135
square
#646E11 #116E4A #1B116E #6E1135
split-complementary
#646E11 #11356E #4A116E
monochromatic
#181B04 #343909 #646E11 #94A319 #C4D821

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646E11#FFFFFF#000000##FFFFFF
##646E111.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)
#766800
Deuteranopia (green-blind)
#76691A
Tritanopia (blue-blind)
#6B675D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646e11;
/* rgb */ color: rgb(100, 110, 17);
/* oklch */ color: oklch(51.3% 0.111 116.0);
Tailwind
colors: {
  custom: {
    50: '#939759',
    500: '#646e11',
    950: '#000000',
  },
}
SCSS
$custom: #646e11;
$custom-light: #939759;
$custom-dark: #000000;
JSON
{
  "hex": "#646e11",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 17
  },
  "hsl": {
    "h": 66.452,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.11056,
    "h": 116
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#646E11
secondary
#4135A5
accent
#38F04C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646E11

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

Preview Lab → · Contrast checker → · Palette generator →

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