#336E2D#336E2D

#336E2D is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.3% C 0.115 H 141.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#336E2D
RGBrgb(51, 110, 45)
HSLhsl(114, 42%, 30%)
HSVhsv(114, 59%, 43%)
CMYKcmyk(53.6%, 0%, 59.1%, 56.9%)
CIE-LABlab(41.29, -33.29, 30.05)
CIE-LCHlch(41.29, 44.85, 137.92°)
OKLaboklab(48.26% -0.0908 0.0713)
OKLCHoklch(48.26% 0.115 141.9)
XYZxyz(7.4145, 12.0446, 4.4162)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E2D #682D6E
analogous
#536E2D #336E2D #2D6E48
triadic
#336E2D #2D336E #6E2D33
tetradic
#336E2D #2D536E #682D6E #6E482D
square
#336E2D #2D536E #682D6E #6E482D
split-complementary
#336E2D #482D6E #6E2D53
monochromatic
#0B1709 #1F431B #336E2D #47993F #63BB5A

Accessibility & contrast

On white

6.16
#336E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#336E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E2D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E2D#FFFFFF#000000##FFFFFF
##336E2D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716527
Deuteranopia (green-blind)
#695F32
Tritanopia (blue-blind)
#2C6B60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e2d;
/* rgb */ color: rgb(51, 110, 45);
/* oklch */ color: oklch(48.3% 0.115 141.9);
Tailwind
colors: {
  custom: {
    50: '#709868',
    500: '#336e2d',
    950: '#000000',
  },
}
SCSS
$custom: #336e2d;
$custom-light: #709868;
$custom-dark: #000000;
JSON
{
  "hex": "#336e2d",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 45
  },
  "hsl": {
    "h": 114.462,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.11543,
    "h": 141.9
  },
  "luminance": 0.12045
}

Semantic roles & 50–950 ramp

primary
#336E2D
secondary
#9957A0
accent
#56D2C6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #336E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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