#345F40#345F40

#345F40 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.5% C 0.070 H 151.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#345F40
RGBrgb(52, 95, 64)
HSLhsl(137, 29%, 29%)
HSVhsv(137, 45%, 37%)
CMYKcmyk(45.3%, 0%, 32.6%, 62.7%)
CIE-LABlab(36.53, -22.64, 13.20)
CIE-LCHlch(36.53, 26.20, 149.76°)
OKLaboklab(44.49% -0.0618 0.0334)
OKLCHoklch(44.49% 0.07 151.6)
XYZxyz(6.4334, 9.2842, 6.3025)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345F40 #5F3453
analogous
#3E5F34 #345F40 #345F56
triadic
#345F40 #40345F #5F4034
tetradic
#345F40 #343E5F #5F3453 #5F5634
square
#345F40 #343E5F #5F3453 #5F5634
split-complementary
#345F40 #56345F #5F343E
monochromatic
#0B140D #1E3725 #345F40 #4A875B #64AA77

Accessibility & contrast

On white

7.35
#345F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#345F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345F40
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345F40#FFFFFF#000000##FFFFFF
##345F401.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F593E
Deuteranopia (green-blind)
#595442
Tritanopia (blue-blind)
#2C5E57
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #345f40;
/* rgb */ color: rgb(52, 95, 64);
/* oklch */ color: oklch(44.5% 0.070 151.6);
Tailwind
colors: {
  custom: {
    50: '#6e8c75',
    500: '#345f40',
    950: '#000000',
  },
}
SCSS
$custom: #345f40;
$custom-light: #6e8c75;
$custom-dark: #000000;
JSON
{
  "hex": "#345f40",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 136.744,
    "s": 29.252,
    "l": 28.824
  },
  "oklch": {
    "l": 0.44487,
    "c": 0.07024,
    "h": 151.6
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#345F40
secondary
#905F82
accent
#62AAC6
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #345F40

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

Preview Lab → · Contrast checker → · Palette generator →

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