#336E1F#336E1F

#336E1F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.127 H 138.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#336E1F
RGBrgb(51, 110, 31)
HSLhsl(105, 56%, 28%)
HSVhsv(105, 72%, 43%)
CMYKcmyk(53.6%, 0%, 71.8%, 56.9%)
CIE-LABlab(41.14, -34.86, 36.64)
CIE-LCHlch(41.14, 50.58, 133.57°)
OKLaboklab(48.1% -0.096 0.0838)
OKLCHoklch(48.1% 0.127 138.9)
XYZxyz(7.1882, 11.9541, 3.2246)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336E1F #5A1F6E
analogous
#5A6E1F #336E1F #1F6E32
triadic
#336E1F #1F336E #6E1F33
tetradic
#336E1F #1F5A6E #5A1F6E #6E321F
square
#336E1F #1F5A6E #5A1F6E #6E321F
split-complementary
#336E1F #321F6E #6E1F5A
monochromatic
#0B1807 #1D3E12 #336E1F #499E2C #62C93F

Accessibility & contrast

On white

6.19
#336E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#336E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336E1F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336E1F#FFFFFF#000000##FFFFFF
##336E1F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#2E6A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #336e1f;
/* rgb */ color: rgb(51, 110, 31);
/* oklch */ color: oklch(48.1% 0.127 138.9);
Tailwind
colors: {
  custom: {
    50: '#71985f',
    500: '#336e1f',
    950: '#000000',
  },
}
SCSS
$custom: #336e1f;
$custom-light: #71985f;
$custom-dark: #000000;
JSON
{
  "hex": "#336e1f",
  "rgb": {
    "r": 51,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 104.81,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.12739,
    "h": 138.9
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#336E1F
secondary
#8B47A2
accent
#48DFB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #336E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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