#335B41#335B41

#335B41 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.4% C 0.063 H 154.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#335B41
RGBrgb(51, 91, 65)
HSLhsl(141, 28%, 28%)
HSVhsv(141, 44%, 36%)
CMYKcmyk(44%, 0%, 28.6%, 64.3%)
CIE-LABlab(35.14, -20.67, 10.67)
CIE-LCHlch(35.14, 23.26, 152.69°)
OKLaboklab(43.35% -0.0567 0.0272)
OKLCHoklch(43.35% 0.063 154.4)
XYZxyz(6.0601, 8.5672, 6.3343)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335B41 #5B334D
analogous
#395B33 #335B41 #335B55
triadic
#335B41 #41335B #5B4133
tetradic
#335B41 #33395B #5B334D #5B5533
square
#335B41 #33395B #5B334D #5B5533
split-complementary
#335B41 #55335B #5B3339
monochromatic
#0B140E #1D3425 #335B41 #49825D #62A77A

Accessibility & contrast

On white

7.74
#335B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#335B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335B41
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335B41#FFFFFF#000000##FFFFFF
##335B411.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B553F
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#2B5A54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335b41;
/* rgb */ color: rgb(51, 91, 65);
/* oklch */ color: oklch(43.4% 0.063 154.4);
Tailwind
colors: {
  custom: {
    50: '#6d8975',
    500: '#335b41',
    950: '#000000',
  },
}
SCSS
$custom: #335b41;
$custom-light: #6d8975;
$custom-dark: #000000;
JSON
{
  "hex": "#335b41",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 65
  },
  "hsl": {
    "h": 141,
    "s": 28.169,
    "l": 27.843
  },
  "oklch": {
    "l": 0.43354,
    "c": 0.06288,
    "h": 154.4
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#335B41
secondary
#8C5E7C
accent
#63A2C4
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070B08
muted
#7A7C7B

Preview Lab

Preview with #335B41

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

Preview Lab → · Contrast checker → · Palette generator →

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