#646811#646811

#646811 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.8% C 0.104 H 112.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#646811
RGBrgb(100, 104, 17)
HSLhsl(63, 72%, 24%)
HSVhsv(63, 84%, 41%)
CMYKcmyk(3.8%, 0%, 83.7%, 59.2%)
CIE-LABlab(42.23, -12.56, 44.10)
CIE-LCHlch(42.23, 45.85, 105.90°)
OKLaboklab(49.77% -0.0395 0.0958)
OKLCHoklch(49.77% 0.104 112.4)
XYZxyz(10.3074, 12.6507, 2.4291)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646811 #151168
analogous
#684011 #646811 #386811
triadic
#646811 #116468 #681164
tetradic
#646811 #116840 #151168 #681138
square
#646811 #116840 #151168 #681138
split-complementary
#646811 #113868 #401168
monochromatic
#191A04 #313308 #646811 #979D1A #C9D122

Accessibility & contrast

On white

5.95
#646811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#646811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646811
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646811#FFFFFF#000000##FFFFFF
##6468111.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#716519
Tritanopia (blue-blind)
#6B6158
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646811;
/* rgb */ color: rgb(100, 104, 17);
/* oklch */ color: oklch(49.8% 0.104 112.4);
Tailwind
colors: {
  custom: {
    50: '#939258',
    500: '#646811',
    950: '#000000',
  },
}
SCSS
$custom: #646811;
$custom-light: #939258;
$custom-dark: #000000;
JSON
{
  "hex": "#646811",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 62.759,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.10364,
    "h": 112.4
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#646811
secondary
#3A35A0
accent
#39EF42
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #646811

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

Preview Lab → · Contrast checker → · Palette generator →

#646811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva