#336545#336545

#336545 is a mid, moderate green. Relative luminance 0.104; OKLCH L 46.2% C 0.076 H 154.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#336545
RGBrgb(51, 101, 69)
HSLhsl(142, 33%, 30%)
HSVhsv(142, 50%, 40%)
CMYKcmyk(49.5%, 0%, 31.7%, 60.4%)
CIE-LABlab(38.62, -24.93, 13.04)
CIE-LCHlch(38.62, 28.14, 152.40°)
OKLaboklab(46.21% -0.0681 0.033)
OKLCHoklch(46.21% 0.076 154.1)
XYZxyz(7.0926, 10.4403, 7.2705)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#336545 #653353
analogous
#3A6533 #336545 #33655E
triadic
#336545 #453365 #654533
tetradic
#336545 #333A65 #653353 #655E33
square
#336545 #333A65 #653353 #655E33
split-complementary
#336545 #5E3365 #65333A
monochromatic
#0A140E #1E3C29 #336545 #488E61 #62B07E

Accessibility & contrast

On white

6.80
#336545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#336545 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #336545
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##336545#FFFFFF#000000##FFFFFF
##3365451.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655E43
Deuteranopia (green-blind)
#5D5947
Tritanopia (blue-blind)
#28645C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #336545;
/* rgb */ color: rgb(51, 101, 69);
/* oklch */ color: oklch(46.2% 0.076 154.1);
Tailwind
colors: {
  custom: {
    50: '#6e9178',
    500: '#336545',
    950: '#000000',
  },
}
SCSS
$custom: #336545;
$custom-light: #6e9178;
$custom-dark: #000000;
JSON
{
  "hex": "#336545",
  "rgb": {
    "r": 51,
    "g": 101,
    "b": 69
  },
  "hsl": {
    "h": 141.6,
    "s": 32.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.46214,
    "c": 0.07571,
    "h": 154.1
  },
  "luminance": 0.10441
}

Semantic roles & 50–950 ramp

primary
#336545
secondary
#965E82
accent
#5FA3C9
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070D09
muted
#7A7D7B

Preview Lab

Preview with #336545

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

Preview Lab → · Contrast checker → · Palette generator →

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