#336F2E#336F2E

#336F2E is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.6% C 0.116 H 142.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#336F2E
RGBrgb(51, 111, 46)
HSLhsl(115, 41%, 31%)
HSVhsv(115, 59%, 44%)
CMYKcmyk(54.1%, 0%, 58.6%, 56.5%)
CIE-LABlab(41.64, -33.59, 29.95)
CIE-LCHlch(41.64, 45.00, 138.28°)
OKLaboklab(48.56% -0.0916 0.0711)
OKLCHoklch(48.56% 0.116 142.2)
XYZxyz(7.5425, 12.2694, 4.5550)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F2E #6A2E6F
analogous
#536F2E #336F2E #2E6F49
triadic
#336F2E #2E336F #6F2E33
tetradic
#336F2E #2E536F #6A2E6F #6F492E
square
#336F2E #2E536F #6A2E6F #6F492E
split-complementary
#336F2E #492E6F #6F2E53
monochromatic
#0B180A #1F441C #336F2E #479A40 #63BB5C

Accessibility & contrast

On white

6.08
#336F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#336F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F2E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F2E#FFFFFF#000000##FFFFFF
##336F2E1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726528
Deuteranopia (green-blind)
#6A6033
Tritanopia (blue-blind)
#2B6C61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f2e;
/* rgb */ color: rgb(51, 111, 46);
/* oklch */ color: oklch(48.6% 0.116 142.2);
Tailwind
colors: {
  custom: {
    50: '#709969',
    500: '#336f2e',
    950: '#000000',
  },
}
SCSS
$custom: #336f2e;
$custom-light: #709969;
$custom-dark: #000000;
JSON
{
  "hex": "#336f2e",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 46
  },
  "hsl": {
    "h": 115.385,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.11595,
    "h": 142.2
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#336F2E
secondary
#9B58A0
accent
#57D1C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #336F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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