#405338#405338

#405338 is a dark, muted green. Relative luminance 0.076; OKLCH L 41.8% C 0.049 H 136.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#405338
RGBrgb(64, 83, 56)
HSLhsl(102, 19%, 27%)
HSVhsv(102, 33%, 33%)
CMYKcmyk(22.9%, 0%, 32.5%, 67.5%)
CIE-LABlab(33.05, -13.22, 13.49)
CIE-LCHlch(33.05, 18.89, 134.43°)
OKLaboklab(41.82% -0.036 0.034)
OKLCHoklch(41.82% 0.049 136.6)
XYZxyz(5.9213, 7.5619, 4.8882)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405338 #4B3853
analogous
#4E5338 #405338 #38533E
triadic
#405338 #384053 #533840
tetradic
#405338 #384E53 #4B3853 #533E38
square
#405338 #384E53 #4B3853 #533E38
split-complementary
#405338 #3E3853 #53384E
monochromatic
#0E120C #242E1F #405338 #5C7851 #799B6B

Accessibility & contrast

On white

8.36
#405338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405338
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405338#FFFFFF#000000##FFFFFF
##4053381.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F36
Deuteranopia (green-blind)
#524D39
Tritanopia (blue-blind)
#40514C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #405338;
/* rgb */ color: rgb(64, 83, 56);
/* oklch */ color: oklch(41.8% 0.049 136.6);
Tailwind
colors: {
  custom: {
    50: '#75836e',
    500: '#405338',
    950: '#000000',
  },
}
SCSS
$custom: #405338;
$custom-light: #75836e;
$custom-dark: #000000;
JSON
{
  "hex": "#405338",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 56
  },
  "hsl": {
    "h": 102.222,
    "s": 19.424,
    "l": 27.255
  },
  "oklch": {
    "l": 0.41819,
    "c": 0.04948,
    "h": 136.6
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#405338
secondary
#7A6483
accent
#6CBCA4
background
#F7F8F6
surface
#EDEFEC
border
#C8CAC7
text
#080A07
muted
#7B7C7A

Preview Lab

Preview with #405338

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

Preview Lab → · Contrast checker → · Palette generator →

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