#336F3D#336F3D

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

Color values

HEX#336F3D
RGBrgb(51, 111, 61)
HSLhsl(130, 37%, 32%)
HSVhsv(130, 54%, 44%)
CMYKcmyk(54.1%, 0%, 45%, 56.5%)
CIE-LABlab(41.86, -31.26, 22.02)
CIE-LCHlch(41.86, 38.24, 144.84°)
OKLaboklab(48.81% -0.0848 0.0542)
OKLCHoklch(48.81% 0.101 147.4)
XYZxyz(7.8915, 12.4090, 6.3933)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F3D #6F3365
analogous
#476F33 #336F3D #336F5B
triadic
#336F3D #3D336F #6F3D33
tetradic
#336F3D #33476F #6F3365 #6F5B33
square
#336F3D #33476F #6F3365 #6F5B33
split-complementary
#336F3D #5B336F #6F3347
monochromatic
#0C1B0F #204526 #336F3D #469954 #64B872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336F3D#FFFFFF#000000##FFFFFF
##336F3D1.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)
#706639
Deuteranopia (green-blind)
#686140
Tritanopia (blue-blind)
#286D63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #336f3d;
/* rgb */ color: rgb(51, 111, 61);
/* oklch */ color: oklch(48.8% 0.101 147.4);
Tailwind
colors: {
  custom: {
    50: '#709973',
    500: '#336f3d',
    950: '#000000',
  },
}
SCSS
$custom: #336f3d;
$custom-light: #709973;
$custom-dark: #000000;
JSON
{
  "hex": "#336f3d",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 61
  },
  "hsl": {
    "h": 130,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.10065,
    "h": 147.4
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#336F3D
secondary
#A05E95
accent
#5BBACD
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #336F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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