#336D2B#336D2B

#336D2B is a mid, moderate green. Relative luminance 0.118; OKLCH L 48.0% C 0.116 H 141.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#336D2B
RGBrgb(51, 109, 43)
HSLhsl(113, 43%, 30%)
HSVhsv(113, 61%, 43%)
CMYKcmyk(53.2%, 0%, 60.6%, 57.3%)
CIE-LABlab(40.92, -33.11, 30.66)
CIE-LCHlch(40.92, 45.12, 137.20°)
OKLaboklab(47.95% -0.0904 0.0724)
OKLCHoklch(47.95% 0.116 141.3)
XYZxyz(7.2696, 11.8150, 4.1825)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D2B #652B6D
analogous
#546D2B #336D2B #2B6D44
triadic
#336D2B #2B336D #6D2B33
tetradic
#336D2B #2B546D #652B6D #6D442B
square
#336D2B #2B546D #652B6D #6D442B
split-complementary
#336D2B #442B6D #6D2B54
monochromatic
#0A1609 #1E411A #336D2B #48993C #62BC56

Accessibility & contrast

On white

6.24
#336D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#336D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D2B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D2B#FFFFFF#000000##FFFFFF
##336D2B1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706424
Deuteranopia (green-blind)
#685F30
Tritanopia (blue-blind)
#2C6A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d2b;
/* rgb */ color: rgb(51, 109, 43);
/* oklch */ color: oklch(48.0% 0.116 141.3);
Tailwind
colors: {
  custom: {
    50: '#709767',
    500: '#336d2b',
    950: '#000000',
  },
}
SCSS
$custom: #336d2b;
$custom-light: #709767;
$custom-dark: #000000;
JSON
{
  "hex": "#336d2b",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 43
  },
  "hsl": {
    "h": 112.727,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.11584,
    "h": 141.3
  },
  "luminance": 0.11816
}

Semantic roles & 50–950 ramp

primary
#336D2B
secondary
#96559F
accent
#55D3C4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #336D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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