#646822#646822

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

Color values

HEX#646822
RGBrgb(100, 104, 34)
HSLhsl(63, 51%, 27%)
HSVhsv(63, 67%, 41%)
CMYKcmyk(3.8%, 0%, 67.3%, 59.2%)
CIE-LABlab(42.35, -11.62, 37.52)
CIE-LCHlch(42.35, 39.28, 107.21°)
OKLaboklab(49.9% -0.0351 0.0851)
OKLCHoklch(49.9% 0.092 112.4)
XYZxyz(10.4949, 12.7257, 3.4165)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646822 #262268
analogous
#684922 #646822 #416822
triadic
#646822 #226468 #682264
tetradic
#646822 #226849 #262268 #682241
square
#646822 #226849 #262268 #682241
split-complementary
#646822 #224168 #492268
monochromatic
#161708 #383A13 #646822 #909631 #BAC243

Accessibility & contrast

On white

5.92
#646822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#646822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646822
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646822#FFFFFF#000000##FFFFFF
##6468221.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706319
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#6B625A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646822;
/* rgb */ color: rgb(100, 104, 34);
/* oklch */ color: oklch(49.9% 0.092 112.4);
Tailwind
colors: {
  custom: {
    50: '#929361',
    500: '#646822',
    950: '#000000',
  },
}
SCSS
$custom: #646822;
$custom-light: #929361;
$custom-dark: #000000;
JSON
{
  "hex": "#646822",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 63.429,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.09206,
    "h": 112.4
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#646822
secondary
#4F4A9C
accent
#4EDA56
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #646822

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

Preview Lab → · Contrast checker → · Palette generator →

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