#336F1E#336F1E

#336F1E is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.129 H 138.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#336F1E
RGBrgb(51, 111, 30)
HSLhsl(104, 57%, 28%)
HSVhsv(104, 73%, 44%)
CMYKcmyk(54.1%, 0%, 73%, 56.5%)
CIE-LABlab(41.48, -35.38, 37.43)
CIE-LCHlch(41.48, 51.50, 133.38°)
OKLaboklab(48.37% -0.0974 0.0853)
OKLCHoklch(48.37% 0.129 138.8)
XYZxyz(7.2837, 12.1659, 3.1925)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F1E #5A1E6F
analogous
#5C6F1E #336F1E #1E6F31
triadic
#336F1E #1E336F #6F1E33
tetradic
#336F1E #1E5C6F #5A1E6F #6F311E
square
#336F1E #1E5C6F #5A1E6F #6F311E
split-complementary
#336F1E #311E6F #6F1E5C
monochromatic
#0B1807 #1D3F11 #336F1E #499F2B #62CB3D

Accessibility & contrast

On white

6.12
#336F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#336F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336F1E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336F1E#FFFFFF#000000##FFFFFF
##336F1E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726512
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#2E6B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f1e;
/* rgb */ color: rgb(51, 111, 30);
/* oklch */ color: oklch(48.4% 0.129 138.8);
Tailwind
colors: {
  custom: {
    50: '#71995f',
    500: '#336f1e',
    950: '#000000',
  },
}
SCSS
$custom: #336f1e;
$custom-light: #71995f;
$custom-dark: #000000;
JSON
{
  "hex": "#336f1e",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 104.444,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48372,
    "c": 0.12948,
    "h": 138.8
  },
  "luminance": 0.12166
}

Semantic roles & 50–950 ramp

primary
#336F1E
secondary
#8B46A3
accent
#47E1B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #336F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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