#336F4D#336F4D

#336F4D is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.2% C 0.084 H 156.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#336F4D
RGBrgb(51, 111, 77)
HSLhsl(146, 37%, 32%)
HSVhsv(146, 54%, 44%)
CMYKcmyk(54.1%, 0%, 30.6%, 56.5%)
CIE-LABlab(42.17, -28.10, 13.13)
CIE-LCHlch(42.17, 31.02, 154.96°)
OKLaboklab(49.16% -0.0768 0.0333)
OKLCHoklch(49.16% 0.084 156.6)
XYZxyz(8.3886, 12.6078, 9.0112)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F4D #6F3355
analogous
#376F33 #336F4D #336F6B
triadic
#336F4D #4D336F #6F4D33
tetradic
#336F4D #33376F #6F3355 #6F6B33
square
#336F4D #33376F #6F3355 #6F6B33
split-complementary
#336F4D #6B336F #6F3337
monochromatic
#0C1B13 #204530 #336F4D #46996A #64B889

Accessibility & contrast

On white

5.96
#336F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#336F4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F4D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F4D#FFFFFF#000000##FFFFFF
##336F4D1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674B
Deuteranopia (green-blind)
#66614F
Tritanopia (blue-blind)
#226E66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336f4d;
/* rgb */ color: rgb(51, 111, 77);
/* oklch */ color: oklch(49.2% 0.084 156.6);
Tailwind
colors: {
  custom: {
    50: '#6f997f',
    500: '#336f4d',
    950: '#000000',
  },
}
SCSS
$custom: #336f4d;
$custom-light: #6f997f;
$custom-dark: #000000;
JSON
{
  "hex": "#336f4d",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 77
  },
  "hsl": {
    "h": 146,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49159,
    "c": 0.08376,
    "h": 156.6
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#336F4D
secondary
#A05E83
accent
#5B9CCD
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #336F4D

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

Preview Lab → · Contrast checker → · Palette generator →

#336F4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva