#646912#646912

#646912 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.0% C 0.104 H 113.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#646912
RGBrgb(100, 105, 18)
HSLhsl(63, 71%, 24%)
HSVhsv(63, 83%, 41%)
CMYKcmyk(4.8%, 0%, 82.9%, 58.8%)
CIE-LABlab(42.55, -13.08, 44.06)
CIE-LCHlch(42.55, 45.96, 106.53°)
OKLaboklab(50.02% -0.0408 0.0959)
OKLCHoklch(50.02% 0.104 113)
XYZxyz(10.4166, 12.8564, 2.5050)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646912 #171269
analogous
#694312 #646912 #396912
triadic
#646912 #126469 #691264
tetradic
#646912 #126943 #171269 #691239
square
#646912 #126943 #171269 #691239
split-complementary
#646912 #123969 #431269
monochromatic
#191A04 #323509 #646912 #969D1B #C8D124

Accessibility & contrast

On white

5.88
#646912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#646912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646912
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646912#FFFFFF#000000##FFFFFF
##6469121.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#72651A
Tritanopia (blue-blind)
#6B6259
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646912;
/* rgb */ color: rgb(100, 105, 18);
/* oklch */ color: oklch(50.0% 0.104 113.0);
Tailwind
colors: {
  custom: {
    50: '#939359',
    500: '#646912',
    950: '#000000',
  },
}
SCSS
$custom: #646912;
$custom-light: #939359;
$custom-dark: #000000;
JSON
{
  "hex": "#646912",
  "rgb": {
    "r": 100,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 63.448,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.10426,
    "h": 113
  },
  "luminance": 0.12856
}

Semantic roles & 50–950 ramp

primary
#646912
secondary
#3C36A1
accent
#3AED45
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646912

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

Preview Lab → · Contrast checker → · Palette generator →

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