#424342#424342

#424342 is a dark, near-neutral grey. Relative luminance 0.056; OKLCH L 38.2% C 0.002 H 145.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#424342
RGBrgb(66, 67, 66)
HSLhsl(120, 1%, 26%)
HSVhsv(120, 1%, 26%)
CMYKcmyk(1.5%, 0%, 1.5%, 73.7%)
CIE-LABlab(28.29, -0.64, 0.46)
CIE-LCHlch(28.29, 0.79, 144.38°)
OKLaboklab(38.16% -0.0018 0.0012)
OKLCHoklch(38.16% 0.002 145.5)
XYZxyz(5.2371, 5.5659, 5.9516)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424342 #434243
analogous
#424342 #424342 #424342
triadic
#424342 #424243 #434242
tetradic
#424342 #424243 #434243 #434242
square
#424342 #424243 #434243 #434242
split-complementary
#424342 #424243 #434242
monochromatic
#0F0F0F #242424 #424342 #606260 #7F817F

Accessibility & contrast

On white

9.94
#424342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#424342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424342
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424342#FFFFFF#000000##FFFFFF
##4243421.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434342
Deuteranopia (green-blind)
#434342
Tritanopia (blue-blind)
#424343
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #424342;
/* rgb */ color: rgb(66, 67, 66);
/* oklch */ color: oklch(38.2% 0.002 145.5);
Tailwind
colors: {
  custom: {
    50: '#767776',
    500: '#424342',
    950: '#000000',
  },
}
SCSS
$custom: #424342;
$custom-light: #767776;
$custom-dark: #000000;
JSON
{
  "hex": "#424342",
  "rgb": {
    "r": 66,
    "g": 67,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 0.752,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.00214,
    "h": 145.5
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#424342
secondary
#717071
accent
#7EAAAA
background
#F7F7F7
surface
#EDEDED
border
#C8C8C8
text
#080808
muted
#7B7B7B

Preview Lab

Preview with #424342

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

Preview Lab → · Contrast checker → · Palette generator →

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