#336F1C#336F1C

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

Color values

HEX#336F1C
RGBrgb(51, 111, 28)
HSLhsl(103, 60%, 27%)
HSVhsv(103, 75%, 44%)
CMYKcmyk(54.1%, 0%, 74.8%, 56.5%)
CIE-LABlab(41.46, -35.55, 38.25)
CIE-LCHlch(41.46, 52.22, 132.90°)
OKLaboklab(48.35% -0.0981 0.0867)
OKLCHoklch(48.35% 0.131 138.5)
XYZxyz(7.2590, 12.1560, 3.0622)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F1C #581C6F
analogous
#5D6F1C #336F1C #1C6F2E
triadic
#336F1C #1C336F #6F1C33
tetradic
#336F1C #1C5D6F #581C6F #6F2E1C
square
#336F1C #1C5D6F #581C6F #6F2E1C
split-complementary
#336F1C #2E1C6F #6F1C5D
monochromatic
#0B1806 #1D3E10 #336F1C #49A028 #62CD38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336F1C#FFFFFF#000000##FFFFFF
##336F1C1.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)
#73650E
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#2E6B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f1c;
/* rgb */ color: rgb(51, 111, 28);
/* oklch */ color: oklch(48.4% 0.131 138.5);
Tailwind
colors: {
  custom: {
    50: '#71995e',
    500: '#336f1c',
    950: '#000000',
  },
}
SCSS
$custom: #336f1c;
$custom-light: #71995e;
$custom-dark: #000000;
JSON
{
  "hex": "#336f1c",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 103.373,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.13089,
    "h": 138.5
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#336F1C
secondary
#8943A4
accent
#45E3B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #336F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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