#646712#646712

#646712 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.5% C 0.102 H 111.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#646712
RGBrgb(100, 103, 18)
HSLhsl(62, 70%, 24%)
HSVhsv(62, 83%, 40%)
CMYKcmyk(2.9%, 0%, 82.5%, 59.6%)
CIE-LABlab(41.93, -11.97, 43.51)
CIE-LCHlch(41.93, 45.12, 105.38°)
OKLaboklab(49.53% -0.0377 0.0948)
OKLCHoklch(49.53% 0.102 111.7)
XYZxyz(10.2153, 12.4538, 2.4379)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646712 #151267
analogous
#673F12 #646712 #396712
triadic
#646712 #126467 #671264
tetradic
#646712 #12673F #151267 #671239
square
#646712 #12673F #151267 #671239
split-complementary
#646712 #123967 #3F1267
monochromatic
#191A05 #313309 #646712 #979B1B #C9CF24

Accessibility & contrast

On white

6.02
#646712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#646712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646712
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646712#FFFFFF#000000##FFFFFF
##6467121.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#70641A
Tritanopia (blue-blind)
#6C6057
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #646712;
/* rgb */ color: rgb(100, 103, 18);
/* oklch */ color: oklch(49.5% 0.102 111.7);
Tailwind
colors: {
  custom: {
    50: '#939259',
    500: '#646712',
    950: '#000000',
  },
}
SCSS
$custom: #646712;
$custom-light: #939259;
$custom-dark: #000000;
JSON
{
  "hex": "#646712",
  "rgb": {
    "r": 100,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 62.118,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49528,
    "c": 0.10199,
    "h": 111.7
  },
  "luminance": 0.12453
}

Semantic roles & 50–950 ramp

primary
#646712
secondary
#3A369F
accent
#3BED41
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646712

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

Preview Lab → · Contrast checker → · Palette generator →

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