#336940#336940

#336940 is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.2% C 0.088 H 149.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#336940
RGBrgb(51, 105, 64)
HSLhsl(134, 35%, 31%)
HSVhsv(134, 51%, 41%)
CMYKcmyk(51.4%, 0%, 39%, 58.8%)
CIE-LABlab(39.88, -27.91, 17.70)
CIE-LCHlch(39.88, 33.04, 147.62°)
OKLaboklab(47.2% -0.0758 0.0442)
OKLCHoklch(47.2% 0.088 149.8)
XYZxyz(7.3418, 11.1766, 6.6199)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336940 #69335C
analogous
#416933 #336940 #33695B
triadic
#336940 #403369 #694033
tetradic
#336940 #334169 #69335C #695B33
square
#336940 #334169 #69335C #695B33
split-complementary
#336940 #5B3369 #693341
monochromatic
#0B170E #1F4027 #336940 #479259 #63B376

Accessibility & contrast

On white

6.49
#336940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#336940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336940
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336940#FFFFFF#000000##FFFFFF
##3369401.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A613D
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#28675F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #336940;
/* rgb */ color: rgb(51, 105, 64);
/* oklch */ color: oklch(47.2% 0.088 149.8);
Tailwind
colors: {
  custom: {
    50: '#6f9475',
    500: '#336940',
    950: '#000000',
  },
}
SCSS
$custom: #336940;
$custom-light: #6f9475;
$custom-dark: #000000;
JSON
{
  "hex": "#336940",
  "rgb": {
    "r": 51,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 134.444,
    "s": 34.615,
    "l": 30.588
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.08777,
    "h": 149.8
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#336940
secondary
#9A5E8B
accent
#5DB0CB
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #336940

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

Preview Lab → · Contrast checker → · Palette generator →

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