#336F40#336F40

#336F40 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.9% C 0.097 H 148.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#336F40
RGBrgb(51, 111, 64)
HSLhsl(133, 37%, 32%)
HSVhsv(133, 54%, 44%)
CMYKcmyk(54.1%, 0%, 42.3%, 56.5%)
CIE-LABlab(41.91, -30.72, 20.38)
CIE-LCHlch(41.91, 36.87, 146.45°)
OKLaboklab(48.87% -0.0833 0.0505)
OKLCHoklch(48.87% 0.097 148.8)
XYZxyz(7.9746, 12.4422, 6.8308)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F40 #6F3362
analogous
#446F33 #336F40 #336F5E
triadic
#336F40 #40336F #6F4033
tetradic
#336F40 #33446F #6F3362 #6F5E33
square
#336F40 #33446F #6F3362 #6F5E33
split-complementary
#336F40 #5E336F #6F3344
monochromatic
#0C1B10 #204528 #336F40 #469958 #64B877

Accessibility & contrast

On white

6.02
#336F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#336F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F40
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F40#FFFFFF#000000##FFFFFF
##336F401.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#276D63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336f40;
/* rgb */ color: rgb(51, 111, 64);
/* oklch */ color: oklch(48.9% 0.097 148.8);
Tailwind
colors: {
  custom: {
    50: '#709975',
    500: '#336f40',
    950: '#000000',
  },
}
SCSS
$custom: #336f40;
$custom-light: #709975;
$custom-dark: #000000;
JSON
{
  "hex": "#336f40",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 133,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.48866,
    "c": 0.09745,
    "h": 148.8
  },
  "luminance": 0.12443
}

Semantic roles & 50–950 ramp

primary
#336F40
secondary
#A05E92
accent
#5BB4CD
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #336F40

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

Preview Lab → · Contrast checker → · Palette generator →

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