#646814#646814

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

Color values

HEX#646814
RGBrgb(100, 104, 20)
HSLhsl(63, 68%, 24%)
HSVhsv(63, 81%, 41%)
CMYKcmyk(3.8%, 0%, 80.8%, 59.2%)
CIE-LABlab(42.25, -12.44, 43.12)
CIE-LCHlch(42.25, 44.88, 106.09°)
OKLaboklab(49.79% -0.0388 0.0943)
OKLCHoklch(49.79% 0.102 112.4)
XYZxyz(10.3325, 12.6607, 2.5612)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646814 #181468
analogous
#684214 #646814 #3A6814
triadic
#646814 #146468 #681464
tetradic
#646814 #146842 #181468 #68143A
square
#646814 #146842 #181468 #68143A
split-complementary
#646814 #143A68 #421468
monochromatic
#191A05 #33350A #646814 #959B1E #C7CF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646814#FFFFFF#000000##FFFFFF
##6468141.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)
#716301
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#6B6158
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646814;
/* rgb */ color: rgb(100, 104, 20);
/* oklch */ color: oklch(49.8% 0.102 112.4);
Tailwind
colors: {
  custom: {
    50: '#93925a',
    500: '#646814',
    950: '#000000',
  },
}
SCSS
$custom: #646814;
$custom-light: #93925a;
$custom-dark: #000000;
JSON
{
  "hex": "#646814",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 62.857,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49787,
    "c": 0.10203,
    "h": 112.4
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#646814
secondary
#3E399F
accent
#3DEB45
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #646814

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

Preview Lab → · Contrast checker → · Palette generator →

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