#336B2E#336B2E

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

Color values

HEX#336B2E
RGBrgb(51, 107, 46)
HSLhsl(115, 40%, 30%)
HSVhsv(115, 57%, 42%)
CMYKcmyk(52.3%, 0%, 57%, 58%)
CIE-LABlab(40.27, -31.82, 28.32)
CIE-LCHlch(40.27, 42.60, 138.33°)
OKLaboklab(47.43% -0.0868 0.0676)
OKLCHoklch(47.43% 0.11 142.1)
XYZxyz(7.1157, 11.4159, 4.4128)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B2E #662E6B
analogous
#516B2E #336B2E #2E6B48
triadic
#336B2E #2E336B #6B2E33
tetradic
#336B2E #2E516B #662E6B #6B482E
square
#336B2E #2E516B #662E6B #6B482E
split-complementary
#336B2E #482E6B #6B2E51
monochromatic
#0A1509 #1F401C #336B2E #479640 #63B85B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336B2E#FFFFFF#000000##FFFFFF
##336B2E1.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)
#6D6228
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#2C685D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336b2e;
/* rgb */ color: rgb(51, 107, 46);
/* oklch */ color: oklch(47.4% 0.110 142.1);
Tailwind
colors: {
  custom: {
    50: '#709668',
    500: '#336b2e',
    950: '#000000',
  },
}
SCSS
$custom: #336b2e;
$custom-light: #709668;
$custom-dark: #000000;
JSON
{
  "hex": "#336b2e",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 46
  },
  "hsl": {
    "h": 115.082,
    "s": 39.869,
    "l": 30
  },
  "oklch": {
    "l": 0.47434,
    "c": 0.10998,
    "h": 142.1
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#336B2E
secondary
#97589D
accent
#58D0C6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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