#345242#345242

#345242 is a dark, muted green. Relative luminance 0.072; OKLCH L 41.0% C 0.045 H 160.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#345242
RGBrgb(52, 82, 66)
HSLhsl(148, 22%, 26%)
HSVhsv(148, 37%, 32%)
CMYKcmyk(36.6%, 0%, 19.5%, 67.8%)
CIE-LABlab(32.16, -15.19, 5.89)
CIE-LCHlch(32.16, 16.29, 158.80°)
OKLaboklab(40.97% -0.0423 0.0152)
OKLCHoklch(40.97% 0.045 160.3)
XYZxyz(5.4165, 7.1577, 6.2494)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345242 #523444
analogous
#355234 #345242 #345251
triadic
#345242 #423452 #524234
tetradic
#345242 #343552 #523444 #525134
square
#345242 #343552 #523444 #525134
split-complementary
#345242 #513452 #523435
monochromatic
#0C130F #1C2D24 #345242 #4C7760 #649D7E

Accessibility & contrast

On white

8.64
#345242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#345242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345242
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345242#FFFFFF#000000##FFFFFF
##3452421.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E41
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#2E524D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #345242;
/* rgb */ color: rgb(52, 82, 66);
/* oklch */ color: oklch(41.0% 0.045 160.3);
Tailwind
colors: {
  custom: {
    50: '#6c8276',
    500: '#345242',
    950: '#000000',
  },
}
SCSS
$custom: #345242;
$custom-light: #6c8276;
$custom-dark: #000000;
JSON
{
  "hex": "#345242",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 66
  },
  "hsl": {
    "h": 148,
    "s": 22.388,
    "l": 26.275
  },
  "oklch": {
    "l": 0.40973,
    "c": 0.04495,
    "h": 160.3
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#345242
secondary
#835F72
accent
#6997BF
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#070A08
muted
#7A7C7B

Preview Lab

Preview with #345242

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

Preview Lab → · Contrast checker → · Palette generator →

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