#336F1B#336F1B

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

Color values

HEX#336F1B
RGBrgb(51, 111, 27)
HSLhsl(103, 61%, 27%)
HSVhsv(103, 76%, 44%)
CMYKcmyk(54.1%, 0%, 75.7%, 56.5%)
CIE-LABlab(41.46, -35.63, 38.65)
CIE-LCHlch(41.46, 52.57, 132.67°)
OKLaboklab(48.35% -0.0984 0.0874)
OKLCHoklch(48.35% 0.132 138.4)
XYZxyz(7.2472, 12.1513, 3.0002)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336F1B #571B6F
analogous
#5D6F1B #336F1B #1B6F2D
triadic
#336F1B #1B336F #6F1B33
tetradic
#336F1B #1B5D6F #571B6F #6F2D1B
square
#336F1B #1B5D6F #571B6F #6F2D1B
split-complementary
#336F1B #2D1B6F #6F1B5D
monochromatic
#0B1906 #1C3E0F #336F1B #4AA027 #62CE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##336F1B#FFFFFF#000000##FFFFFF
##336F1B1.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)
#73650C
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#2E6B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #336f1b;
/* rgb */ color: rgb(51, 111, 27);
/* oklch */ color: oklch(48.3% 0.132 138.4);
Tailwind
colors: {
  custom: {
    50: '#71995d',
    500: '#336f1b',
    950: '#000000',
  },
}
SCSS
$custom: #336f1b;
$custom-light: #71995d;
$custom-dark: #000000;
JSON
{
  "hex": "#336f1b",
  "rgb": {
    "r": 51,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 102.857,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48345,
    "c": 0.13157,
    "h": 138.4
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#336F1B
secondary
#8842A4
accent
#44E4B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #336F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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