#335E46#335E46

#335E46 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.3% C 0.063 H 158.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#335E46
RGBrgb(51, 94, 70)
HSLhsl(147, 30%, 28%)
HSVhsv(147, 46%, 37%)
CMYKcmyk(45.7%, 0%, 25.5%, 63.1%)
CIE-LABlab(36.27, -21.13, 9.18)
CIE-LCHlch(36.27, 23.04, 156.51°)
OKLaboklab(44.31% -0.0582 0.0235)
OKLCHoklch(44.31% 0.063 158)
XYZxyz(6.4730, 9.1510, 7.2184)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335E46 #5E334B
analogous
#355E33 #335E46 #335E5B
triadic
#335E46 #46335E #5E4633
tetradic
#335E46 #33355E #5E334B #5E5B33
square
#335E46 #33355E #5E334B #5E5B33
split-complementary
#335E46 #5B335E #5E3335
monochromatic
#0B140F #1D3628 #335E46 #498664 #62AA82

Accessibility & contrast

On white

7.42
#335E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#335E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335E46
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335E46#FFFFFF#000000##FFFFFF
##335E461.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5845
Deuteranopia (green-blind)
#575347
Tritanopia (blue-blind)
#295D57
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335e46;
/* rgb */ color: rgb(51, 94, 70);
/* oklch */ color: oklch(44.3% 0.063 158.0);
Tailwind
colors: {
  custom: {
    50: '#6d8c79',
    500: '#335e46',
    950: '#000000',
  },
}
SCSS
$custom: #335e46;
$custom-light: #6d8c79;
$custom-dark: #000000;
JSON
{
  "hex": "#335e46",
  "rgb": {
    "r": 51,
    "g": 94,
    "b": 70
  },
  "hsl": {
    "h": 146.512,
    "s": 29.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.44313,
    "c": 0.0628,
    "h": 158
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#335E46
secondary
#8F5E79
accent
#629AC6
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C09
muted
#7A7D7B

Preview Lab

Preview with #335E46

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

Preview Lab → · Contrast checker → · Palette generator →

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