#335641#335641

#335641 is a dark, muted green. Relative luminance 0.077; OKLCH L 42.0% C 0.054 H 156.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#335641
RGBrgb(51, 86, 65)
HSLhsl(144, 26%, 27%)
HSVhsv(144, 41%, 34%)
CMYKcmyk(40.7%, 0%, 24.4%, 66.3%)
CIE-LABlab(33.44, -17.99, 8.31)
CIE-LCHlch(33.44, 19.81, 155.22°)
OKLaboklab(41.98% -0.0496 0.0213)
OKLCHoklch(41.98% 0.054 156.8)
XYZxyz(5.6468, 7.7407, 6.1966)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335641 #563348
analogous
#375633 #335641 #335653
triadic
#335641 #413356 #564133
tetradic
#335641 #333756 #563348 #565333
square
#335641 #333756 #563348 #565333
split-complementary
#335641 #533356 #563337
monochromatic
#0B130F #1C3024 #335641 #4A7C5E #62A27B

Accessibility & contrast

On white

8.24
#335641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#335641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335641
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335641#FFFFFF#000000##FFFFFF
##3356411.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565140
Deuteranopia (green-blind)
#504D42
Tritanopia (blue-blind)
#2C5550
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335641;
/* rgb */ color: rgb(51, 86, 65);
/* oklch */ color: oklch(42.0% 0.054 156.8);
Tailwind
colors: {
  custom: {
    50: '#6c8675',
    500: '#335641',
    950: '#000000',
  },
}
SCSS
$custom: #335641;
$custom-light: #6c8675;
$custom-dark: #000000;
JSON
{
  "hex": "#335641",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 65
  },
  "hsl": {
    "h": 144,
    "s": 25.547,
    "l": 26.863
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.05401,
    "h": 156.8
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#335641
secondary
#875E76
accent
#669DC2
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#070B08
muted
#7A7C7B

Preview Lab

Preview with #335641

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

Preview Lab → · Contrast checker → · Palette generator →

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