#336E2F#336E2F

#336E2F is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.3% C 0.114 H 142.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#336E2F
RGBrgb(51, 110, 47)
HSLhsl(116, 40%, 31%)
HSVhsv(116, 57%, 43%)
CMYKcmyk(53.6%, 0%, 57.3%, 56.9%)
CIE-LABlab(41.31, -33.01, 29.04)
CIE-LCHlch(41.31, 43.97, 138.67°)
OKLaboklab(48.29% -0.09 0.0692)
OKLCHoklch(48.29% 0.114 142.4)
XYZxyz(7.4539, 12.0603, 4.6239)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E2F #6A2F6E
analogous
#526E2F #336E2F #2F6E4A
triadic
#336E2F #2F336E #6E2F33
tetradic
#336E2F #2F526E #6A2F6E #6E4A2F
square
#336E2F #2F526E #6A2F6E #6E4A2F
split-complementary
#336E2F #4A2F6E #6E2F52
monochromatic
#0B180A #1F431D #336E2F #479941 #63BA5D

Accessibility & contrast

On white

6.15
#336E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#336E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E2F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E2F#FFFFFF#000000##FFFFFF
##336E2F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706529
Deuteranopia (green-blind)
#695F34
Tritanopia (blue-blind)
#2B6B60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e2f;
/* rgb */ color: rgb(51, 110, 47);
/* oklch */ color: oklch(48.3% 0.114 142.4);
Tailwind
colors: {
  custom: {
    50: '#709869',
    500: '#336e2f',
    950: '#000000',
  },
}
SCSS
$custom: #336e2f;
$custom-light: #709869;
$custom-dark: #000000;
JSON
{
  "hex": "#336e2f",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 47
  },
  "hsl": {
    "h": 116.19,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48291,
    "c": 0.1135,
    "h": 142.4
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#336E2F
secondary
#9B599F
accent
#58D0C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #336E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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