#336A2D#336A2D

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

Color values

HEX#336A2D
RGBrgb(51, 106, 45)
HSLhsl(114, 40%, 30%)
HSVhsv(114, 58%, 42%)
CMYKcmyk(51.9%, 0%, 57.5%, 58.4%)
CIE-LABlab(39.92, -31.51, 28.43)
CIE-LCHlch(39.92, 42.44, 137.94°)
OKLaboklab(47.14% -0.086 0.0677)
OKLCHoklch(47.14% 0.109 141.8)
XYZxyz(6.9926, 11.2008, 4.2756)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336A2D #642D6A
analogous
#526A2D #336A2D #2D6A46
triadic
#336A2D #2D336A #6A2D33
tetradic
#336A2D #2D526A #642D6A #6A462D
square
#336A2D #2D526A #642D6A #6A462D
split-complementary
#336A2D #462D6A #6A2D52
monochromatic
#0A1509 #1E3F1B #336A2D #48953F #62B859

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336A2D#FFFFFF#000000##FFFFFF
##336A2D1.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)
#6C6127
Deuteranopia (green-blind)
#655C31
Tritanopia (blue-blind)
#2D675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336a2d;
/* rgb */ color: rgb(51, 106, 45);
/* oklch */ color: oklch(47.1% 0.109 141.8);
Tailwind
colors: {
  custom: {
    50: '#709568',
    500: '#336a2d',
    950: '#000000',
  },
}
SCSS
$custom: #336a2d;
$custom-light: #709568;
$custom-dark: #000000;
JSON
{
  "hex": "#336a2d",
  "rgb": {
    "r": 51,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 114.098,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47138,
    "c": 0.10945,
    "h": 141.8
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#336A2D
secondary
#95579C
accent
#58D0C4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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