#345C2C#345C2C

#345C2C is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.2% C 0.088 H 140.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#345C2C
RGBrgb(52, 92, 44)
HSLhsl(110, 35%, 27%)
HSVhsv(110, 52%, 36%)
CMYKcmyk(43.5%, 0%, 52.2%, 63.9%)
CIE-LABlab(35.13, -24.72, 23.18)
CIE-LCHlch(35.13, 33.89, 136.85°)
OKLaboklab(43.24% -0.0676 0.056)
OKLCHoklch(43.24% 0.088 140.4)
XYZxyz(5.6977, 8.5659, 3.7355)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C2C #542C5C
analogous
#4C5C2C #345C2C #2C5C3C
triadic
#345C2C #2C345C #5C2C34
tetradic
#345C2C #2C4C5C #542C5C #5C3C2C
square
#345C2C #2C4C5C #542C5C #5C3C2C
split-complementary
#345C2C #3C2C5C #5C2C4C
monochromatic
#0C150A #1D3318 #345C2C #4B8540 #64AE55

Accessibility & contrast

On white

7.74
#345C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#345C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345C2C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C2C#FFFFFF#000000##FFFFFF
##345C2C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5528
Deuteranopia (green-blind)
#59512F
Tritanopia (blue-blind)
#315951
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #345c2c;
/* rgb */ color: rgb(52, 92, 44);
/* oklch */ color: oklch(43.2% 0.088 140.4);
Tailwind
colors: {
  custom: {
    50: '#6e8a66',
    500: '#345c2c',
    950: '#000000',
  },
}
SCSS
$custom: #345c2c;
$custom-light: #6e8a66;
$custom-dark: #000000;
JSON
{
  "hex": "#345c2c",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 44
  },
  "hsl": {
    "h": 110,
    "s": 35.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.43235,
    "c": 0.0878,
    "h": 140.4
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#345C2C
secondary
#85568E
accent
#5CCBB9
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #345C2C

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

Preview Lab → · Contrast checker → · Palette generator →

#345C2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva