#336C4E#336C4E

#336C4E is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.4% C 0.078 H 158.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#336C4E
RGBrgb(51, 108, 78)
HSLhsl(148, 36%, 31%)
HSVhsv(148, 53%, 42%)
CMYKcmyk(52.8%, 0%, 27.8%, 57.6%)
CIE-LABlab(41.18, -26.42, 11.17)
CIE-LCHlch(41.18, 28.69, 157.07°)
OKLaboklab(48.36% -0.0725 0.0285)
OKLCHoklch(48.36% 0.078 158.6)
XYZxyz(8.1023, 11.9783, 9.0913)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C4E #6C3351
analogous
#346C33 #336C4E #336C6A
triadic
#336C4E #4E336C #6C4E33
tetradic
#336C4E #33346C #6C3351 #6C6A33
square
#336C4E #33346C #6C3351 #6C6A33
split-complementary
#336C4E #6A336C #6C3334
monochromatic
#0C1912 #1F4230 #336C4E #47966C #64B68B

Accessibility & contrast

On white

6.18
#336C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#336C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C4E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C4E#FFFFFF#000000##FFFFFF
##336C4E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B654C
Deuteranopia (green-blind)
#635F50
Tritanopia (blue-blind)
#236B64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336c4e;
/* rgb */ color: rgb(51, 108, 78);
/* oklch */ color: oklch(48.4% 0.078 158.6);
Tailwind
colors: {
  custom: {
    50: '#6f967f',
    500: '#336c4e',
    950: '#000000',
  },
}
SCSS
$custom: #336c4e;
$custom-light: #6f967f;
$custom-dark: #000000;
JSON
{
  "hex": "#336c4e",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 78
  },
  "hsl": {
    "h": 148.421,
    "s": 35.849,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48364,
    "c": 0.07794,
    "h": 158.6
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#336C4E
secondary
#9D5E7F
accent
#5C97CC
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080D0A
muted
#7B7E7C

Preview Lab

Preview with #336C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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