#336D4E#336D4E

#336D4E is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.6% C 0.080 H 158.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#336D4E
RGBrgb(51, 109, 78)
HSLhsl(148, 36%, 31%)
HSVhsv(148, 53%, 43%)
CMYKcmyk(53.2%, 0%, 28.4%, 57.3%)
CIE-LABlab(41.52, -26.91, 11.64)
CIE-LCHlch(41.52, 29.32, 156.61°)
OKLaboklab(48.64% -0.0738 0.0297)
OKLCHoklch(48.64% 0.08 158.1)
XYZxyz(8.2084, 12.1905, 9.1267)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D4E #6D3352
analogous
#356D33 #336D4E #336D6B
triadic
#336D4E #4E336D #6D4E33
tetradic
#336D4E #33356D #6D3352 #6D6B33
square
#336D4E #33356D #6D3352 #6D6B33
split-complementary
#336D4E #6B336D #6D3335
monochromatic
#0C1A12 #1F4330 #336D4E #47976C #64B68A

Accessibility & contrast

On white

6.11
#336D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#336D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D4E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D4E#FFFFFF#000000##FFFFFF
##336D4E1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C664C
Deuteranopia (green-blind)
#646050
Tritanopia (blue-blind)
#226C65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336d4e;
/* rgb */ color: rgb(51, 109, 78);
/* oklch */ color: oklch(48.6% 0.080 158.1);
Tailwind
colors: {
  custom: {
    50: '#6f977f',
    500: '#336d4e',
    950: '#000000',
  },
}
SCSS
$custom: #336d4e;
$custom-light: #6f977f;
$custom-dark: #000000;
JSON
{
  "hex": "#336d4e",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 78
  },
  "hsl": {
    "h": 147.931,
    "s": 36.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.48637,
    "c": 0.07955,
    "h": 158.1
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#336D4E
secondary
#9E5E80
accent
#5C98CC
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080D0A
muted
#7B7E7C

Preview Lab

Preview with #336D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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