#335D41#335D41

#335D41 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.9% C 0.066 H 153.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#335D41
RGBrgb(51, 93, 65)
HSLhsl(140, 29%, 28%)
HSVhsv(140, 45%, 36%)
CMYKcmyk(45.2%, 0%, 30.1%, 63.5%)
CIE-LABlab(35.82, -21.72, 11.61)
CIE-LCHlch(35.82, 24.63, 151.87°)
OKLaboklab(43.91% -0.0595 0.0295)
OKLCHoklch(43.91% 0.066 153.6)
XYZxyz(6.2333, 8.9137, 6.3921)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335D41 #5D334F
analogous
#3A5D33 #335D41 #335D56
triadic
#335D41 #41335D #5D4133
tetradic
#335D41 #333A5D #5D334F #5D5633
square
#335D41 #333A5D #5D334F #5D5633
split-complementary
#335D41 #56335D #5D333A
monochromatic
#0B140E #1D3525 #335D41 #49855D #62A979

Accessibility & contrast

On white

7.55
#335D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#335D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335D41
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335D41#FFFFFF#000000##FFFFFF
##335D411.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573F
Deuteranopia (green-blind)
#575243
Tritanopia (blue-blind)
#2B5C55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335d41;
/* rgb */ color: rgb(51, 93, 65);
/* oklch */ color: oklch(43.9% 0.066 153.6);
Tailwind
colors: {
  custom: {
    50: '#6d8b75',
    500: '#335d41',
    950: '#000000',
  },
}
SCSS
$custom: #335d41;
$custom-light: #6d8b75;
$custom-dark: #000000;
JSON
{
  "hex": "#335d41",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 65
  },
  "hsl": {
    "h": 140,
    "s": 29.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.06638,
    "h": 153.6
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#335D41
secondary
#8E5E7E
accent
#62A4C5
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #335D41

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

Preview Lab → · Contrast checker → · Palette generator →

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