#336B4E#336B4E

#336B4E is a mid, moderate green. Relative luminance 0.118; OKLCH L 48.1% C 0.076 H 159.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#336B4E
RGBrgb(51, 107, 78)
HSLhsl(149, 35%, 31%)
HSVhsv(149, 52%, 42%)
CMYKcmyk(52.3%, 0%, 27.1%, 58%)
CIE-LABlab(40.85, -25.93, 10.71)
CIE-LCHlch(40.85, 28.05, 157.56°)
OKLaboklab(48.09% -0.0713 0.0273)
OKLCHoklch(48.09% 0.076 159)
XYZxyz(7.9974, 11.7686, 9.0564)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B4E #6B3350
analogous
#346B33 #336B4E #336B6A
triadic
#336B4E #4E336B #6B4E33
tetradic
#336B4E #33346B #6B3350 #6B6A33
square
#336B4E #33346B #6B3350 #6B6A33
split-complementary
#336B4E #6A336B #6B3334
monochromatic
#0B1812 #1F4230 #336B4E #47946C #64B58B

Accessibility & contrast

On white

6.26
#336B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#336B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B4E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B4E#FFFFFF#000000##FFFFFF
##336B4E1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A644C
Deuteranopia (green-blind)
#625E50
Tritanopia (blue-blind)
#236A63
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336b4e;
/* rgb */ color: rgb(51, 107, 78);
/* oklch */ color: oklch(48.1% 0.076 159.0);
Tailwind
colors: {
  custom: {
    50: '#6f967f',
    500: '#336b4e',
    950: '#000000',
  },
}
SCSS
$custom: #336b4e;
$custom-light: #6f967f;
$custom-dark: #000000;
JSON
{
  "hex": "#336b4e",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 78
  },
  "hsl": {
    "h": 148.929,
    "s": 35.443,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48091,
    "c": 0.07634,
    "h": 159
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#336B4E
secondary
#9C5E7E
accent
#5C96CB
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070D0A
muted
#7A7E7C

Preview Lab

Preview with #336B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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