#336F3E#336F3E

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

Color values

HEX#336F3E
RGBrgb(51, 111, 62)
HSLhsl(131, 37%, 32%)
HSVhsv(131, 54%, 44%)
CMYKcmyk(54.1%, 0%, 44.1%, 56.5%)
CIE-LABlab(41.88, -31.09, 21.47)
CIE-LCHlch(41.88, 37.78, 145.36°)
OKLaboklab(48.83% -0.0843 0.053)
OKLCHoklch(48.83% 0.1 147.8)
XYZxyz(7.9187, 12.4198, 6.5365)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F3E #6F3364
analogous
#466F33 #336F3E #336F5C
triadic
#336F3E #3E336F #6F3E33
tetradic
#336F3E #33466F #6F3364 #6F5C33
square
#336F3E #33466F #6F3364 #6F5C33
split-complementary
#336F3E #5C336F #6F3346
monochromatic
#0C1B0F #204527 #336F3E #469955 #64B874

Accessibility & contrast

On white

6.03
#336F3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#336F3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F3E
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F3E#FFFFFF#000000##FFFFFF
##336F3E1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663A
Deuteranopia (green-blind)
#686141
Tritanopia (blue-blind)
#286D63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336f3e;
/* rgb */ color: rgb(51, 111, 62);
/* oklch */ color: oklch(48.8% 0.100 147.8);
Tailwind
colors: {
  custom: {
    50: '#709974',
    500: '#336f3e',
    950: '#000000',
  },
}
SCSS
$custom: #336f3e;
$custom-light: #709974;
$custom-dark: #000000;
JSON
{
  "hex": "#336f3e",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 62
  },
  "hsl": {
    "h": 131,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.48826,
    "c": 0.09959,
    "h": 147.8
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#336F3E
secondary
#A05E94
accent
#5BB8CD
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #336F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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