#336A2E#336A2E

#336A2E is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.2% C 0.108 H 142.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#336A2E
RGBrgb(51, 106, 46)
HSLhsl(115, 39%, 30%)
HSVhsv(115, 57%, 42%)
CMYKcmyk(51.9%, 0%, 56.6%, 58.4%)
CIE-LABlab(39.93, -31.37, 27.91)
CIE-LCHlch(39.93, 41.99, 138.34°)
OKLaboklab(47.15% -0.0855 0.0667)
OKLCHoklch(47.15% 0.108 142.1)
XYZxyz(7.0121, 11.2086, 4.3782)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A2E #652E6A
analogous
#516A2E #336A2E #2E6A47
triadic
#336A2E #2E336A #6A2E33
tetradic
#336A2E #2E516A #652E6A #6A472E
square
#336A2E #2E516A #652E6A #6A472E
split-complementary
#336A2E #472E6A #6A2E51
monochromatic
#0A1509 #1E3F1B #336A2E #489541 #62B85B

Accessibility & contrast

On white

6.48
#336A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#336A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336A2E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336A2E#FFFFFF#000000##FFFFFF
##336A2E1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6128
Deuteranopia (green-blind)
#655C32
Tritanopia (blue-blind)
#2C675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a2e;
/* rgb */ color: rgb(51, 106, 46);
/* oklch */ color: oklch(47.2% 0.108 142.1);
Tailwind
colors: {
  custom: {
    50: '#709568',
    500: '#336a2e',
    950: '#000000',
  },
}
SCSS
$custom: #336a2e;
$custom-light: #709568;
$custom-dark: #000000;
JSON
{
  "hex": "#336a2e",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 46
  },
  "hsl": {
    "h": 115,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.47153,
    "c": 0.10846,
    "h": 142.1
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#336A2E
secondary
#96589C
accent
#58CFC5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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