#336C1C#336C1C

#336C1C is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.127 H 138.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#336C1C
RGBrgb(51, 108, 28)
HSLhsl(103, 59%, 27%)
HSVhsv(103, 74%, 42%)
CMYKcmyk(52.8%, 0%, 74.1%, 57.6%)
CIE-LABlab(40.43, -34.28, 37.19)
CIE-LCHlch(40.43, 50.58, 132.67°)
OKLaboklab(47.5% -0.0946 0.0845)
OKLCHoklch(47.5% 0.127 138.2)
XYZxyz(6.9372, 11.5123, 2.9549)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336C1C #551C6C
analogous
#5B6C1C #336C1C #1C6C2D
triadic
#336C1C #1C336C #6C1C33
tetradic
#336C1C #1C5B6C #551C6C #6C2D1C
square
#336C1C #1C5B6C #551C6C #6C2D1C
split-complementary
#336C1C #2D1C6C #6C1C5B
monochromatic
#0B1806 #1C3B0F #336C1C #4A9D29 #62CB37

Accessibility & contrast

On white

6.36
#336C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#336C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336C1C
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336C1C#FFFFFF#000000##FFFFFF
##336C1C1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70620F
Deuteranopia (green-blind)
#685D24
Tritanopia (blue-blind)
#2F685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #336c1c;
/* rgb */ color: rgb(51, 108, 28);
/* oklch */ color: oklch(47.5% 0.127 138.2);
Tailwind
colors: {
  custom: {
    50: '#71975d',
    500: '#336c1c',
    950: '#000000',
  },
}
SCSS
$custom: #336c1c;
$custom-light: #71975d;
$custom-dark: #000000;
JSON
{
  "hex": "#336c1c",
  "rgb": {
    "r": 51,
    "g": 108,
    "b": 28
  },
  "hsl": {
    "h": 102.75,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47504,
    "c": 0.12685,
    "h": 138.2
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#336C1C
secondary
#8643A1
accent
#46E2B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #336C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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