#42423C#42423C

#42423C is a dark, near-neutral grey. Relative luminance 0.054; OKLCH L 37.7% C 0.010 H 106.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#42423C
RGBrgb(66, 66, 60)
HSLhsl(60, 5%, 25%)
HSVhsv(60, 9%, 26%)
CMYKcmyk(0%, 0%, 9.1%, 74.1%)
CIE-LABlab(27.79, -1.29, 3.65)
CIE-LCHlch(27.79, 3.87, 109.40°)
OKLaboklab(37.71% -0.0029 0.0096)
OKLCHoklch(37.71% 0.01 106.9)
XYZxyz(5.0105, 5.3809, 5.0488)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42423C #3C3C42
analogous
#423F3C #42423C #3F423C
triadic
#42423C #3C4242 #423C42
tetradic
#42423C #3C423F #3C3C42 #423C3F
square
#42423C #3C423F #3C3C42 #423C3F
split-complementary
#42423C #3C3F42 #3F3C42
monochromatic
#10100F #22221F #42423C #626259 #828276

Accessibility & contrast

On white

10.11
#42423C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#42423C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42423C
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42423C#FFFFFF#000000##FFFFFF
##42423C1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43413C
Deuteranopia (green-blind)
#43423C
Tritanopia (blue-blind)
#434140
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #42423c;
/* rgb */ color: rgb(66, 66, 60);
/* oklch */ color: oklch(37.7% 0.010 106.9);
Tailwind
colors: {
  custom: {
    50: '#767671',
    500: '#42423c',
    950: '#000000',
  },
}
SCSS
$custom: #42423c;
$custom-light: #767671;
$custom-dark: #000000;
JSON
{
  "hex": "#42423c",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 60
  },
  "hsl": {
    "h": 60,
    "s": 4.762,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37707,
    "c": 0.00998,
    "h": 106.9
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#42423C
secondary
#696971
accent
#7AAE7A
background
#F7F7F6
surface
#EDEDEC
border
#C8C8C7
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #42423C

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

Preview Lab → · Contrast checker → · Palette generator →

#42423C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva