#336D1E#336D1E

#336D1E is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.8% C 0.127 H 138.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#336D1E
RGBrgb(51, 109, 30)
HSLhsl(104, 57%, 27%)
HSVhsv(104, 72%, 43%)
CMYKcmyk(53.2%, 0%, 72.5%, 57.3%)
CIE-LABlab(40.79, -34.53, 36.71)
CIE-LCHlch(40.79, 50.40, 133.25°)
OKLaboklab(47.81% -0.0952 0.0838)
OKLCHoklch(47.81% 0.127 138.6)
XYZxyz(7.0680, 11.7343, 3.1205)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336D1E #581E6D
analogous
#5B6D1E #336D1E #1E6D31
triadic
#336D1E #1E336D #6D1E33
tetradic
#336D1E #1E5B6D #581E6D #6D311E
square
#336D1E #1E5B6D #581E6D #6D311E
split-complementary
#336D1E #311E6D #6D1E5B
monochromatic
#0B1807 #1D3D11 #336D1E #499D2B #62C93C

Accessibility & contrast

On white

6.27
#336D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#336D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336D1E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336D1E#FFFFFF#000000##FFFFFF
##336D1E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706312
Deuteranopia (green-blind)
#695E25
Tritanopia (blue-blind)
#2E695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #336d1e;
/* rgb */ color: rgb(51, 109, 30);
/* oklch */ color: oklch(47.8% 0.127 138.6);
Tailwind
colors: {
  custom: {
    50: '#71975f',
    500: '#336d1e',
    950: '#000000',
  },
}
SCSS
$custom: #336d1e;
$custom-light: #71975f;
$custom-dark: #000000;
JSON
{
  "hex": "#336d1e",
  "rgb": {
    "r": 51,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 104.051,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47806,
    "c": 0.12677,
    "h": 138.6
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#336D1E
secondary
#8945A1
accent
#48E0B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #336D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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