#646C24#646C24

#646C24 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 50.9% C 0.095 H 115.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#646C24
RGBrgb(100, 108, 36)
HSLhsl(67, 50%, 28%)
HSVhsv(67, 67%, 42%)
CMYKcmyk(7.4%, 0%, 66.7%, 57.6%)
CIE-LABlab(43.60, -13.69, 37.91)
CIE-LCHlch(43.60, 40.31, 109.86°)
OKLaboklab(50.91% -0.0407 0.0863)
OKLCHoklch(50.91% 0.095 115.2)
XYZxyz(10.9368, 13.5620, 3.7103)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C24 #2C246C
analogous
#6C5024 #646C24 #406C24
triadic
#646C24 #24646C #6C2464
tetradic
#646C24 #246C50 #2C246C #6C2440
square
#646C24 #246C50 #2C246C #6C2440
split-complementary
#646C24 #24406C #50246C
monochromatic
#151708 #393E15 #646C24 #8E9A33 #B5C248

Accessibility & contrast

On white

5.66
#646C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#646C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C24
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C24#FFFFFF#000000##FFFFFF
##646C241.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671B
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#6A665D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c24;
/* rgb */ color: rgb(100, 108, 36);
/* oklch */ color: oklch(50.9% 0.095 115.2);
Tailwind
colors: {
  custom: {
    50: '#929663',
    500: '#646c24',
    950: '#000000',
  },
}
SCSS
$custom: #646c24;
$custom-light: #929663;
$custom-dark: #000000;
JSON
{
  "hex": "#646c24",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 36
  },
  "hsl": {
    "h": 66.667,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.09539,
    "h": 115.2
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#646C24
secondary
#564D9F
accent
#4EDA5E
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #646C24

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

Preview Lab → · Contrast checker → · Palette generator →

#646C24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva