#405248#405248

#405248 is a dark, muted green. Relative luminance 0.076; OKLCH L 42.0% C 0.028 H 160.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#405248
RGBrgb(64, 82, 72)
HSLhsl(147, 12%, 29%)
HSVhsv(147, 22%, 32%)
CMYKcmyk(22%, 0%, 12.2%, 67.8%)
CIE-LABlab(33.12, -9.36, 3.58)
CIE-LCHlch(33.12, 10.02, 159.09°)
OKLaboklab(42% -0.0263 0.0093)
OKLCHoklch(42% 0.028 160.6)
XYZxyz(6.3010, 7.5923, 7.2631)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405248 #52404A
analogous
#415240 #405248 #405251
triadic
#405248 #484052 #524840
tetradic
#405248 #404152 #52404A #525140
square
#405248 #404152 #52404A #525140
split-complementary
#405248 #514052 #524041
monochromatic
#0D110F #25302A #405248 #5B7466 #779585

Accessibility & contrast

On white

8.34
#405248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#405248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405248
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405248#FFFFFF#000000##FFFFFF
##4052481.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F48
Deuteranopia (green-blind)
#4E4D49
Tritanopia (blue-blind)
#3D524F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405248;
/* rgb */ color: rgb(64, 82, 72);
/* oklch */ color: oklch(42.0% 0.028 160.6);
Tailwind
colors: {
  custom: {
    50: '#75827b',
    500: '#405248',
    950: '#000000',
  },
}
SCSS
$custom: #405248;
$custom-light: #75827b;
$custom-dark: #000000;
JSON
{
  "hex": "#405248",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 72
  },
  "hsl": {
    "h": 146.667,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.0279,
    "h": 160.6
  },
  "luminance": 0.07592
}

Semantic roles & 50–950 ramp

primary
#405248
secondary
#816D78
accent
#7398B5
background
#F7F7F7
surface
#EDEEED
border
#C8C9C8
text
#080A09
muted
#7B7C7B

Preview Lab

Preview with #405248

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

Preview Lab → · Contrast checker → · Palette generator →

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