#336B2C#336B2C

#336B2C is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.4% C 0.112 H 141.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#336B2C
RGBrgb(51, 107, 44)
HSLhsl(113, 42%, 30%)
HSVhsv(113, 59%, 42%)
CMYKcmyk(52.3%, 0%, 58.9%, 58%)
CIE-LABlab(40.25, -32.09, 29.35)
CIE-LCHlch(40.25, 43.49, 137.56°)
OKLaboklab(47.41% -0.0876 0.0697)
OKLCHoklch(47.41% 0.112 141.5)
XYZxyz(7.0772, 11.4005, 4.2100)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B2C #642C6B
analogous
#536B2C #336B2C #2C6B44
triadic
#336B2C #2C336B #6B2C33
tetradic
#336B2C #2C536B #642C6B #6B442C
square
#336B2C #2C536B #642C6B #6B442C
split-complementary
#336B2C #442C6B #6B2C53
monochromatic
#0A1609 #1E401A #336B2C #48963E #62BA57

Accessibility & contrast

On white

6.40
#336B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#336B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B2C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B2C#FFFFFF#000000##FFFFFF
##336B2C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6226
Deuteranopia (green-blind)
#665D31
Tritanopia (blue-blind)
#2D685D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336b2c;
/* rgb */ color: rgb(51, 107, 44);
/* oklch */ color: oklch(47.4% 0.112 141.5);
Tailwind
colors: {
  custom: {
    50: '#709667',
    500: '#336b2c',
    950: '#000000',
  },
}
SCSS
$custom: #336b2c;
$custom-light: #709667;
$custom-dark: #000000;
JSON
{
  "hex": "#336b2c",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 44
  },
  "hsl": {
    "h": 113.333,
    "s": 41.722,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47405,
    "c": 0.11192,
    "h": 141.5
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#336B2C
secondary
#95569D
accent
#56D2C4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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