#646812#646812

#646812 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#646812
RGBrgb(100, 104, 18)
HSLhsl(63, 70%, 24%)
HSVhsv(63, 83%, 41%)
CMYKcmyk(3.8%, 0%, 82.7%, 59.2%)
CIE-LABlab(42.24, -12.52, 43.78)
CIE-LCHlch(42.24, 45.54, 105.96°)
OKLaboklab(49.78% -0.0393 0.0954)
OKLCHoklch(49.78% 0.103 112.4)
XYZxyz(10.3154, 12.6539, 2.4712)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646812 #161268
analogous
#684112 #646812 #396812
triadic
#646812 #126468 #681264
tetradic
#646812 #126841 #161268 #681239
square
#646812 #126841 #161268 #681239
split-complementary
#646812 #123968 #411268
monochromatic
#191A05 #323409 #646812 #969C1B #C8D024

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #646812;
/* rgb */ color: rgb(100, 104, 18);
/* oklch */ color: oklch(49.8% 0.103 112.4);
Tailwind
colors: {
  custom: {
    50: '#939259',
    500: '#646812',
    950: '#000000',
  },
}
SCSS
$custom: #646812;
$custom-light: #939259;
$custom-dark: #000000;
JSON
{
  "hex": "#646812",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 62.791,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49775,
    "c": 0.10312,
    "h": 112.4
  },
  "luminance": 0.12654
}

Semantic roles & 50–950 ramp

primary
#646812
secondary
#3B36A0
accent
#3BED43
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #646812

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

Preview Lab → · Contrast checker → · Palette generator →

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