#335643#335643

#335643 is a dark, muted green. Relative luminance 0.078; OKLCH L 42.0% C 0.052 H 159.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#335643
RGBrgb(51, 86, 67)
HSLhsl(147, 26%, 27%)
HSVhsv(147, 41%, 34%)
CMYKcmyk(40.7%, 0%, 22.1%, 66.3%)
CIE-LABlab(33.49, -17.53, 7.13)
CIE-LCHlch(33.49, 18.92, 157.87°)
OKLaboklab(42.03% -0.0486 0.0183)
OKLCHoklch(42.03% 0.052 159.4)
XYZxyz(5.7058, 7.7643, 6.5071)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335643 #563346
analogous
#355633 #335643 #335655
triadic
#335643 #433356 #564333
tetradic
#335643 #333556 #563346 #565533
square
#335643 #333556 #563346 #565533
split-complementary
#335643 #553356 #563335
monochromatic
#0B130F #1C3025 #335643 #4A7C61 #62A27F

Accessibility & contrast

On white

8.23
#335643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335643
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335643#FFFFFF#000000##FFFFFF
##3356431.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555142
Deuteranopia (green-blind)
#504D44
Tritanopia (blue-blind)
#2B5651
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #335643;
/* rgb */ color: rgb(51, 86, 67);
/* oklch */ color: oklch(42.0% 0.052 159.4);
Tailwind
colors: {
  custom: {
    50: '#6c8677',
    500: '#335643',
    950: '#000000',
  },
}
SCSS
$custom: #335643;
$custom-light: #6c8677;
$custom-dark: #000000;
JSON
{
  "hex": "#335643",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 67
  },
  "hsl": {
    "h": 147.429,
    "s": 25.547,
    "l": 26.863
  },
  "oklch": {
    "l": 0.42034,
    "c": 0.05193,
    "h": 159.4
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#335643
secondary
#875E74
accent
#6698C2
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#070B08
muted
#7A7C7B

Preview Lab

Preview with #335643

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

Preview Lab → · Contrast checker → · Palette generator →

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