#646813#646813

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

Color values

HEX#646813
RGBrgb(100, 104, 19)
HSLhsl(63, 69%, 24%)
HSVhsv(63, 82%, 41%)
CMYKcmyk(3.8%, 0%, 81.7%, 59.2%)
CIE-LABlab(42.24, -12.48, 43.46)
CIE-LCHlch(42.24, 45.21, 106.02°)
OKLaboklab(49.78% -0.0391 0.0949)
OKLCHoklch(49.78% 0.103 112.4)
XYZxyz(10.3237, 12.6572, 2.5152)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646813 #171368
analogous
#684213 #646813 #3A6813
triadic
#646813 #136468 #681364
tetradic
#646813 #136842 #171368 #68133A
square
#646813 #136842 #171368 #68133A
split-complementary
#646813 #133A68 #421368
monochromatic
#191A05 #32340A #646813 #969C1C #C8CF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #646813;
/* rgb */ color: rgb(100, 104, 19);
/* oklch */ color: oklch(49.8% 0.103 112.4);
Tailwind
colors: {
  custom: {
    50: '#939259',
    500: '#646813',
    950: '#000000',
  },
}
SCSS
$custom: #646813;
$custom-light: #939259;
$custom-dark: #000000;
JSON
{
  "hex": "#646813",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 62.824,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49781,
    "c": 0.10259,
    "h": 112.4
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

primary
#646813
secondary
#3C379F
accent
#3CEC44
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #646813

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

Preview Lab → · Contrast checker → · Palette generator →

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