#336F4E#336F4E

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

Color values

HEX#336F4E
RGBrgb(51, 111, 78)
HSLhsl(147, 37%, 32%)
HSVhsv(147, 54%, 44%)
CMYKcmyk(54.1%, 0%, 29.7%, 56.5%)
CIE-LABlab(42.19, -27.88, 12.57)
CIE-LCHlch(42.19, 30.58, 155.74°)
OKLaboklab(49.18% -0.0763 0.032)
OKLCHoklch(49.18% 0.083 157.3)
XYZxyz(8.4242, 12.6220, 9.1986)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F4E #6F3354
analogous
#366F33 #336F4E #336F6C
triadic
#336F4E #4E336F #6F4E33
tetradic
#336F4E #33366F #6F3354 #6F6C33
square
#336F4E #33366F #6F3354 #6F6C33
split-complementary
#336F4E #6C336F #6F3336
monochromatic
#0C1B13 #204531 #336F4E #46996B #64B88A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336F4E#FFFFFF#000000##FFFFFF
##336F4E1.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)
#6E674C
Deuteranopia (green-blind)
#666150
Tritanopia (blue-blind)
#226E66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #336f4e;
/* rgb */ color: rgb(51, 111, 78);
/* oklch */ color: oklch(49.2% 0.083 157.3);
Tailwind
colors: {
  custom: {
    50: '#70997f',
    500: '#336f4e',
    950: '#000000',
  },
}
SCSS
$custom: #336f4e;
$custom-light: #70997f;
$custom-dark: #000000;
JSON
{
  "hex": "#336f4e",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 78
  },
  "hsl": {
    "h": 147,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.08275,
    "h": 157.3
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#336F4E
secondary
#A05E82
accent
#5B9ACD
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #336F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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