#336147#336147

#336147 is a mid, moderate green. Relative luminance 0.097; OKLCH L 45.2% C 0.067 H 157.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#336147
RGBrgb(51, 97, 71)
HSLhsl(146, 31%, 29%)
HSVhsv(146, 47%, 38%)
CMYKcmyk(47.4%, 0%, 26.8%, 62%)
CIE-LABlab(37.31, -22.46, 10.02)
CIE-LCHlch(37.31, 24.60, 155.96°)
OKLaboklab(45.16% -0.0618 0.0256)
OKLCHoklch(45.16% 0.067 157.5)
XYZxyz(6.7768, 9.7076, 7.4767)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336147 #61334D
analogous
#366133 #336147 #33615E
triadic
#336147 #473361 #614733
tetradic
#336147 #333661 #61334D #615E33
square
#336147 #333661 #61334D #615E33
split-complementary
#336147 #5E3361 #613336
monochromatic
#0B140F #1E392A #336147 #488964 #62AC82

Accessibility & contrast

On white

7.14
#336147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#336147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #336147
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336147#FFFFFF#000000##FFFFFF
##3361471.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605B46
Deuteranopia (green-blind)
#595649
Tritanopia (blue-blind)
#28605A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #336147;
/* rgb */ color: rgb(51, 97, 71);
/* oklch */ color: oklch(45.2% 0.067 157.5);
Tailwind
colors: {
  custom: {
    50: '#6e8e7a',
    500: '#336147',
    950: '#000000',
  },
}
SCSS
$custom: #336147;
$custom-light: #6e8e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#336147",
  "rgb": {
    "r": 51,
    "g": 97,
    "b": 71
  },
  "hsl": {
    "h": 146.087,
    "s": 31.081,
    "l": 29.02
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.06688,
    "h": 157.5
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#336147
secondary
#925E7B
accent
#619BC7
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C09
muted
#7A7D7B

Preview Lab

Preview with #336147

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

Preview Lab → · Contrast checker → · Palette generator →

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