#646E24#646E24

#646E24 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.098 H 116.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#646E24
RGBrgb(100, 110, 36)
HSLhsl(68, 51%, 29%)
HSVhsv(68, 67%, 43%)
CMYKcmyk(9.1%, 0%, 67.3%, 56.9%)
CIE-LABlab(44.22, -14.79, 38.57)
CIE-LCHlch(44.22, 41.31, 110.98°)
OKLaboklab(51.4% -0.0437 0.0877)
OKLCHoklch(51.4% 0.098 116.5)
XYZxyz(11.1501, 13.9887, 3.7814)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E24 #2E246E
analogous
#6E5324 #646E24 #3F6E24
triadic
#646E24 #24646E #6E2464
tetradic
#646E24 #246E53 #2E246E #6E243F
square
#646E24 #246E53 #2E246E #6E243F
split-complementary
#646E24 #243F6E #53246E
monochromatic
#151708 #3A4015 #646E24 #8E9C33 #B3C349

Accessibility & contrast

On white

5.53
#646E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#646E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E24
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E24#FFFFFF#000000##FFFFFF
##646E241.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76681A
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#6A685F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646e24;
/* rgb */ color: rgb(100, 110, 36);
/* oklch */ color: oklch(51.4% 0.098 116.5);
Tailwind
colors: {
  custom: {
    50: '#929763',
    500: '#646e24',
    950: '#000000',
  },
}
SCSS
$custom: #646e24;
$custom-light: #929763;
$custom-dark: #000000;
JSON
{
  "hex": "#646e24",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 36
  },
  "hsl": {
    "h": 68.108,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.09797,
    "h": 116.5
  },
  "luminance": 0.13989
}

Semantic roles & 50–950 ramp

primary
#646E24
secondary
#584DA1
accent
#4EDA61
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D05
muted
#7E7E7A

Preview Lab

Preview with #646E24

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

Preview Lab → · Contrast checker → · Palette generator →

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