#646810#646810

#646810 is a mid, moderate yellow. Relative luminance 0.126; 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#646810
RGBrgb(100, 104, 16)
HSLhsl(63, 73%, 24%)
HSVhsv(63, 85%, 41%)
CMYKcmyk(3.8%, 0%, 84.6%, 59.2%)
CIE-LABlab(42.23, -12.60, 44.40)
CIE-LCHlch(42.23, 46.16, 105.85°)
OKLaboklab(49.77% -0.0396 0.0963)
OKLCHoklch(49.77% 0.104 112.4)
XYZxyz(10.2997, 12.6476, 2.3888)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646810 #141068
analogous
#684010 #646810 #386810
triadic
#646810 #106468 #681064
tetradic
#646810 #106840 #141068 #681038
square
#646810 #106840 #141068 #681038
split-complementary
#646810 #103868 #401068
monochromatic
#1A1B04 #313308 #646810 #979D18 #CAD220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646810#FFFFFF#000000##FFFFFF
##6468101.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: #646810;
/* rgb */ color: rgb(100, 104, 16);
/* oklch */ color: oklch(49.8% 0.104 112.4);
Tailwind
colors: {
  custom: {
    50: '#939258',
    500: '#646810',
    950: '#000000',
  },
}
SCSS
$custom: #646810;
$custom-light: #939258;
$custom-dark: #000000;
JSON
{
  "hex": "#646810",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 62.727,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.10413,
    "h": 112.4
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#646810
secondary
#3834A0
accent
#38F040
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #646810

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

Preview Lab → · Contrast checker → · Palette generator →

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