#336121#336121

#336121 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.107 H 138.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#336121
RGBrgb(51, 97, 33)
HSLhsl(103, 49%, 25%)
HSVhsv(103, 66%, 38%)
CMYKcmyk(47.4%, 0%, 66%, 62%)
CIE-LABlab(36.67, -28.91, 30.86)
CIE-LCHlch(36.67, 42.28, 133.13°)
OKLaboklab(44.43% -0.0797 0.0718)
OKLCHoklch(44.43% 0.107 138)
XYZxyz(5.9143, 9.3626, 2.9341)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336121 #4F2161
analogous
#536121 #336121 #21612F
triadic
#336121 #213361 #612133
tetradic
#336121 #215361 #4F2161 #612F21
square
#336121 #215361 #4F2161 #612F21
split-complementary
#336121 #2F2161 #612153
monochromatic
#0C1708 #1B3311 #336121 #4B8F31 #63BC40

Accessibility & contrast

On white

7.31
#336121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#336121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336121
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336121#FFFFFF#000000##FFFFFF
##3361211.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591A
Deuteranopia (green-blind)
#5E5526
Tritanopia (blue-blind)
#305E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #336121;
/* rgb */ color: rgb(51, 97, 33);
/* oklch */ color: oklch(44.4% 0.107 138.0);
Tailwind
colors: {
  custom: {
    50: '#6f8e5f',
    500: '#336121',
    950: '#000000',
  },
}
SCSS
$custom: #336121;
$custom-light: #6f8e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#336121",
  "rgb": {
    "r": 51,
    "g": 97,
    "b": 33
  },
  "hsl": {
    "h": 103.125,
    "s": 49.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.44434,
    "c": 0.10724,
    "h": 138
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#336121
secondary
#804995
accent
#4FD9B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C05
muted
#7B7D79

Preview Lab

Preview with #336121

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

Preview Lab → · Contrast checker → · Palette generator →

#336121 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva