#336B26#336B26

#336B26 is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.3% C 0.117 H 140.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#336B26
RGBrgb(51, 107, 38)
HSLhsl(109, 48%, 28%)
HSVhsv(109, 64%, 42%)
CMYKcmyk(52.3%, 0%, 64.5%, 58%)
CIE-LABlab(40.18, -32.84, 32.32)
CIE-LCHlch(40.18, 46.08, 135.45°)
OKLaboklab(47.33% -0.09 0.0755)
OKLCHoklch(47.33% 0.117 140)
XYZxyz(6.9725, 11.3586, 3.6584)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336B26 #5E266B
analogous
#556B26 #336B26 #266B3B
triadic
#336B26 #26336B #6B2633
tetradic
#336B26 #26556B #5E266B #6B3B26
square
#336B26 #26556B #5E266B #6B3B26
split-complementary
#336B26 #3B266B #6B2655
monochromatic
#0B1708 #1D3E16 #336B26 #499836 #62BF4C

Accessibility & contrast

On white

6.42
#336B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#336B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336B26
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336B26#FFFFFF#000000##FFFFFF
##336B261.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E621E
Deuteranopia (green-blind)
#675D2C
Tritanopia (blue-blind)
#2E685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336b26;
/* rgb */ color: rgb(51, 107, 38);
/* oklch */ color: oklch(47.3% 0.117 140.0);
Tailwind
colors: {
  custom: {
    50: '#709663',
    500: '#336b26',
    950: '#000000',
  },
}
SCSS
$custom: #336b26;
$custom-light: #709663;
$custom-dark: #000000;
JSON
{
  "hex": "#336b26",
  "rgb": {
    "r": 51,
    "g": 107,
    "b": 38
  },
  "hsl": {
    "h": 108.696,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.11746,
    "h": 140
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#336B26
secondary
#8F4F9E
accent
#51D7BE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080D05
muted
#7B7E7A

Preview Lab

Preview with #336B26

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

Preview Lab → · Contrast checker → · Palette generator →

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