#335A46#335A46

#335A46 is a dark, muted green. Relative luminance 0.085; OKLCH L 43.2% C 0.056 H 160.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#335A46
RGBrgb(51, 90, 70)
HSLhsl(149, 28%, 28%)
HSVhsv(149, 43%, 35%)
CMYKcmyk(43.3%, 0%, 22.2%, 64.7%)
CIE-LABlab(34.92, -19.00, 7.28)
CIE-LCHlch(34.92, 20.35, 159.04°)
OKLaboklab(43.22% -0.0527 0.0187)
OKLCHoklch(43.22% 0.056 160.5)
XYZxyz(6.1265, 8.4579, 7.1029)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A46 #5A3347
analogous
#335A33 #335A46 #335A5A
triadic
#335A46 #46335A #5A4633
tetradic
#335A46 #33335A #5A3347 #5A5A33
square
#335A46 #33335A #5A3347 #5A5A33
split-complementary
#335A46 #5A335A #5A3333
monochromatic
#0B140F #1D3328 #335A46 #498164 #62A683

Accessibility & contrast

On white

7.80
#335A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#335A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335A46
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A46#FFFFFF#000000##FFFFFF
##335A461.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595545
Deuteranopia (green-blind)
#535047
Tritanopia (blue-blind)
#2A5A54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335a46;
/* rgb */ color: rgb(51, 90, 70);
/* oklch */ color: oklch(43.2% 0.056 160.5);
Tailwind
colors: {
  custom: {
    50: '#6d8979',
    500: '#335a46',
    950: '#000000',
  },
}
SCSS
$custom: #335a46;
$custom-light: #6d8979;
$custom-dark: #000000;
JSON
{
  "hex": "#335a46",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 70
  },
  "hsl": {
    "h": 149.231,
    "s": 27.66,
    "l": 27.647
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.05593,
    "h": 160.5
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#335A46
secondary
#8B5E75
accent
#6495C4
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070B09
muted
#7A7C7B

Preview Lab

Preview with #335A46

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

Preview Lab → · Contrast checker → · Palette generator →

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