#336F3F#336F3F

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

Color values

HEX#336F3F
RGBrgb(51, 111, 63)
HSLhsl(132, 37%, 32%)
HSVhsv(132, 54%, 44%)
CMYKcmyk(54.1%, 0%, 43.2%, 56.5%)
CIE-LABlab(41.89, -30.91, 20.93)
CIE-LCHlch(41.89, 37.32, 145.90°)
OKLaboklab(48.85% -0.0838 0.0518)
OKLCHoklch(48.85% 0.099 148.3)
XYZxyz(7.9464, 12.4309, 6.6823)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F3F #6F3363
analogous
#456F33 #336F3F #336F5D
triadic
#336F3F #3F336F #6F3F33
tetradic
#336F3F #33456F #6F3363 #6F5D33
square
#336F3F #33456F #6F3363 #6F5D33
split-complementary
#336F3F #5D336F #6F3345
monochromatic
#0C1B0F #204527 #336F3F #469957 #64B875

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336F3F#FFFFFF#000000##FFFFFF
##336F3F1.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)
#70663C
Deuteranopia (green-blind)
#686142
Tritanopia (blue-blind)
#276D63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336f3f;
/* rgb */ color: rgb(51, 111, 63);
/* oklch */ color: oklch(48.8% 0.099 148.3);
Tailwind
colors: {
  custom: {
    50: '#709974',
    500: '#336f3f',
    950: '#000000',
  },
}
SCSS
$custom: #336f3f;
$custom-light: #709974;
$custom-dark: #000000;
JSON
{
  "hex": "#336f3f",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 63
  },
  "hsl": {
    "h": 132,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.48846,
    "c": 0.09852,
    "h": 148.3
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#336F3F
secondary
#A05E93
accent
#5BB6CD
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #336F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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