#335C41#335C41

#335C41 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.6% C 0.065 H 154.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#335C41
RGBrgb(51, 92, 65)
HSLhsl(140, 29%, 28%)
HSVhsv(140, 45%, 36%)
CMYKcmyk(44.6%, 0%, 29.3%, 63.9%)
CIE-LABlab(35.48, -21.20, 11.14)
CIE-LCHlch(35.48, 23.95, 152.27°)
OKLaboklab(43.63% -0.0581 0.0283)
OKLCHoklch(43.63% 0.065 154)
XYZxyz(6.1461, 8.7394, 6.3630)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335C41 #5C334E
analogous
#395C33 #335C41 #335C55
triadic
#335C41 #41335C #5C4133
tetradic
#335C41 #33395C #5C334E #5C5533
square
#335C41 #33395C #5C334E #5C5533
split-complementary
#335C41 #55335C #5C3339
monochromatic
#0B140E #1D3525 #335C41 #49835D #62A87A

Accessibility & contrast

On white

7.64
#335C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#335C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335C41
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335C41#FFFFFF#000000##FFFFFF
##335C411.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563F
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#2B5B55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335c41;
/* rgb */ color: rgb(51, 92, 65);
/* oklch */ color: oklch(43.6% 0.065 154.0);
Tailwind
colors: {
  custom: {
    50: '#6d8a75',
    500: '#335c41',
    950: '#000000',
  },
}
SCSS
$custom: #335c41;
$custom-light: #6d8a75;
$custom-dark: #000000;
JSON
{
  "hex": "#335c41",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 65
  },
  "hsl": {
    "h": 140.488,
    "s": 28.671,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4363,
    "c": 0.06463,
    "h": 154
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#335C41
secondary
#8D5E7D
accent
#63A3C5
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #335C41

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

Preview Lab → · Contrast checker → · Palette generator →

#335C41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva