#405243#405243

#405243 is a dark, muted green. Relative luminance 0.075; OKLCH L 41.8% C 0.033 H 149.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#405243
RGBrgb(64, 82, 67)
HSLhsl(130, 12%, 29%)
HSVhsv(130, 22%, 32%)
CMYKcmyk(22%, 0%, 18.3%, 67.8%)
CIE-LABlab(32.98, -10.46, 6.54)
CIE-LCHlch(32.98, 12.34, 148.01°)
OKLaboklab(41.85% -0.0288 0.0169)
OKLCHoklch(41.85% 0.033 149.7)
XYZxyz(6.1445, 7.5297, 6.4387)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405243 #52404F
analogous
#465240 #405243 #40524C
triadic
#405243 #434052 #524340
tetradic
#405243 #404652 #52404F #524C40
square
#405243 #404652 #52404F #524C40
split-complementary
#405243 #4C4052 #524046
monochromatic
#0D110E #253027 #405243 #5B745F #77957C

Accessibility & contrast

On white

8.38
#405243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#405243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405243
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405243#FFFFFF#000000##FFFFFF
##4052431.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F42
Deuteranopia (green-blind)
#4F4D44
Tritanopia (blue-blind)
#3E514E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405243;
/* rgb */ color: rgb(64, 82, 67);
/* oklch */ color: oklch(41.8% 0.033 149.7);
Tailwind
colors: {
  custom: {
    50: '#758277',
    500: '#405243',
    950: '#000000',
  },
}
SCSS
$custom: #405243;
$custom-light: #758277;
$custom-dark: #000000;
JSON
{
  "hex": "#405243",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 67
  },
  "hsl": {
    "h": 130,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.03339,
    "h": 149.7
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#405243
secondary
#816D7E
accent
#73AAB5
background
#F7F7F7
surface
#EDEEED
border
#C8C9C8
text
#080A08
muted
#7B7C7B

Preview Lab

Preview with #405243

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

Preview Lab → · Contrast checker → · Palette generator →

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