#335F4E#335F4E

#335F4E is a dark, muted teal. Relative luminance 0.094; OKLCH L 44.8% C 0.057 H 166.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#335F4E
RGBrgb(51, 95, 78)
HSLhsl(157, 30%, 29%)
HSVhsv(157, 46%, 37%)
CMYKcmyk(46.3%, 0%, 17.9%, 62.7%)
CIE-LABlab(36.81, -19.75, 5.02)
CIE-LCHlch(36.81, 20.38, 165.73°)
OKLaboklab(44.82% -0.0555 0.0129)
OKLCHoklch(44.82% 0.057 166.9)
XYZxyz(6.8320, 9.4378, 8.6679)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335F4E #5F3344
analogous
#335F38 #335F4E #335A5F
triadic
#335F4E #4E335F #5F4E33
tetradic
#335F4E #38335F #5F3344 #5A5F33
square
#335F4E #38335F #5F3344 #5A5F33
split-complementary
#335F4E #5F335A #5F3833
monochromatic
#0B1410 #1E372D #335F4E #48876F #62AB8E

Accessibility & contrast

On white

7.27
#335F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#335F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335F4E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335F4E#FFFFFF#000000##FFFFFF
##335F4E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5A4D
Deuteranopia (green-blind)
#56554F
Tritanopia (blue-blind)
#265F5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #335f4e;
/* rgb */ color: rgb(51, 95, 78);
/* oklch */ color: oklch(44.8% 0.057 166.9);
Tailwind
colors: {
  custom: {
    50: '#6d8c7f',
    500: '#335f4e',
    950: '#000000',
  },
}
SCSS
$custom: #335f4e;
$custom-light: #6d8c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#335f4e",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 78
  },
  "hsl": {
    "h": 156.818,
    "s": 30.137,
    "l": 28.627
  },
  "oklch": {
    "l": 0.44818,
    "c": 0.05697,
    "h": 166.9
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#335F4E
secondary
#905E71
accent
#6188C6
background
#F6F8F7
surface
#ECF0EE
border
#C7CBC9
text
#070C0A
muted
#7A7D7C

Preview Lab

Preview with #335F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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