#336752#336752

#336752 is a mid, moderate teal. Relative luminance 0.110; OKLCH L 47.1% C 0.066 H 165.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#336752
RGBrgb(51, 103, 82)
HSLhsl(156, 34%, 30%)
HSVhsv(156, 50%, 40%)
CMYKcmyk(50.5%, 0%, 20.4%, 59.6%)
CIE-LABlab(39.60, -22.96, 6.55)
CIE-LCHlch(39.60, 23.88, 164.09°)
OKLaboklab(47.11% -0.0641 0.0168)
OKLCHoklch(47.11% 0.066 165.3)
XYZxyz(7.7378, 11.0129, 9.6990)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336752 #673348
analogous
#336738 #336752 #336267
triadic
#336752 #523367 #675233
tetradic
#336752 #383367 #673348 #626733
square
#336752 #383367 #673348 #626733
split-complementary
#336752 #673362 #673833
monochromatic
#0A1511 #1F3E31 #336752 #479073 #63B292

Accessibility & contrast

On white

6.56
#336752 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#336752 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336752
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336752#FFFFFF#000000##FFFFFF
##3367521.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656151
Deuteranopia (green-blind)
#5D5B53
Tritanopia (blue-blind)
#226761
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #336752;
/* rgb */ color: rgb(51, 103, 82);
/* oklch */ color: oklch(47.1% 0.066 165.3);
Tailwind
colors: {
  custom: {
    50: '#6e9282',
    500: '#336752',
    950: '#000000',
  },
}
SCSS
$custom: #336752;
$custom-light: #6e9282;
$custom-dark: #000000;
JSON
{
  "hex": "#336752",
  "rgb": {
    "r": 51,
    "g": 103,
    "b": 82
  },
  "hsl": {
    "h": 155.769,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.47112,
    "c": 0.06624,
    "h": 165.3
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#336752
secondary
#985E75
accent
#5E8ACA
background
#F6F9F7
surface
#ECF1EE
border
#C7CBC9
text
#070D0A
muted
#7A7E7C

Preview Lab

Preview with #336752

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

Preview Lab → · Contrast checker → · Palette generator →

#336752 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva